Skip to content

Commit

Permalink
Do not show progress bars on uv runs
Browse files Browse the repository at this point in the history
  • Loading branch information
kdeldycke committed Jul 18, 2024
1 parent dbeaad9 commit 73d4cc6
Show file tree
Hide file tree
Showing 12 changed files with 31 additions and 31 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/autofix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ jobs:
python-version: "3.12"
- name: Install uv
run: |
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.1.4/requirements/uv.txt
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.3.1/requirements/uv.txt
- name: Install project
run: |
uv venv --system
uv pip install .
uv --no-progress venv --system
uv --no-progress pip install .
- name: Update readme
run: |
uv run python -c 'from meta_package_manager.inventory import update_readme; update_readme()'
uv --no-progress run python -c 'from meta_package_manager.inventory import update_readme; update_readme()'
- name: Discard all local changes but the readme
run: |
# Remove untracked directories and files.
Expand Down Expand Up @@ -63,6 +63,6 @@ jobs:
branch: update-readme

autofix:
uses: kdeldycke/workflows/.github/workflows/[email protected].0
uses: kdeldycke/workflows/.github/workflows/[email protected].1
# Depends on the previous job so that the Markdown syntax auto-fixer can have an effect on auto-updated content.
needs: update-readme
2 changes: 1 addition & 1 deletion .github/workflows/autolock.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ name: Autolock
jobs:

autolock:
uses: kdeldycke/workflows/.github/workflows/[email protected].0
uses: kdeldycke/workflows/.github/workflows/[email protected].1
2 changes: 1 addition & 1 deletion .github/workflows/changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ name: Changelog & versions
jobs:

changelog:
uses: kdeldycke/workflows/.github/workflows/[email protected].0
uses: kdeldycke/workflows/.github/workflows/[email protected].1
2 changes: 1 addition & 1 deletion .github/workflows/debug.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ name: Debug
jobs:

debug:
uses: kdeldycke/workflows/.github/workflows/[email protected].0
uses: kdeldycke/workflows/.github/workflows/[email protected].1

click-color-context:
strategy:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ name: Docs
jobs:

docs:
uses: kdeldycke/workflows/.github/workflows/[email protected].0
uses: kdeldycke/workflows/.github/workflows/[email protected].1
2 changes: 1 addition & 1 deletion .github/workflows/label-sponsors.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ name: Label sponsors
jobs:

label-sponsors:
uses: kdeldycke/workflows/.github/workflows/[email protected].0
uses: kdeldycke/workflows/.github/workflows/[email protected].1
2 changes: 1 addition & 1 deletion .github/workflows/labeller-content-based.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ name: Labeller (content-based)
jobs:

labeller:
uses: kdeldycke/workflows/.github/workflows/[email protected].0
uses: kdeldycke/workflows/.github/workflows/[email protected].1
with:
extra-rules: |
"🔌 bar-plugin":
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/labeller-file-based.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ name: Labeller (file-based)
jobs:

labeller:
uses: kdeldycke/workflows/.github/workflows/[email protected].0
uses: kdeldycke/workflows/.github/workflows/[email protected].1
with:
extra-rules: |
"🔌 bar-plugin":
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/labels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ jobs:
python-version: "3.12"
- name: Install uv
run: |
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.1.4/requirements/uv.txt
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.3.1/requirements/uv.txt
- name: Install project
run: |
uv venv --system
uv pip install .
uv --no-progress venv --system
uv --no-progress pip install .
- name: Generate labels
run: |
uv run python ./.github/generate_labels.py
uv --no-progress run python ./.github/generate_labels.py
- name: Discard all local changes but the label definitions file
run: |
# Remove untracked directories and files.
Expand Down Expand Up @@ -61,7 +61,7 @@ jobs:
branch: update-labels

labels:
uses: kdeldycke/workflows/.github/workflows/[email protected].0
uses: kdeldycke/workflows/.github/workflows/[email protected].1
needs: generate-labels
with:
extra-label-files: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ name: Lint
jobs:

lint:
uses: kdeldycke/workflows/.github/workflows/[email protected].0
uses: kdeldycke/workflows/.github/workflows/[email protected].1
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ name: Build & release
jobs:

release:
uses: kdeldycke/workflows/.github/workflows/[email protected].0
uses: kdeldycke/workflows/.github/workflows/[email protected].1
secrets:
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}

Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -524,35 +524,35 @@ jobs:
- name: Install uv
run: |
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.1.4/requirements/uv.txt
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.3.1/requirements/uv.txt
- name: Install project
run: |
uv venv --system
uv pip install ".[test]"
uv --no-progress venv --system
uv --no-progress pip install ".[test]"
# CLI tests.
- name: mpm --help
run: |
uv run mpm
uv --no-progress run mpm
- name: mpm --verbosity DEBUG --version
run: |
uv run mpm --verbosity DEBUG --version
uv --no-progress run mpm --verbosity DEBUG --version
- name: mpm managers
run: |
uv run mpm managers
uv --no-progress run mpm managers
- name: mpm --all-managers managers
run: |
uv run mpm --all-managers managers
uv --no-progress run mpm --all-managers managers
- name: Parallel non-destructive tests
run: >
uv run pytest --exitfirst
uv --no-progress run pytest --exitfirst
--numprocesses=auto --run-non-destructive --skip-destructive
--ignore=./tests/test_bar_plugin.py
- name: Sequential random destructive tests
run: >
uv run pytest --exitfirst
uv --no-progress run pytest --exitfirst
--numprocesses=0 --skip-non-destructive --run-destructive
--ignore=./tests/test_bar_plugin.py
Expand All @@ -564,21 +564,21 @@ jobs:
- name: uv run bar_plugin.py --search-mpm
if: runner.os == 'macOS'
run: |
uv run ./meta_package_manager/bar_plugin.py --search-mpm
uv --no-progress run ./meta_package_manager/bar_plugin.py --search-mpm
- name: bar_plugin.py
if: runner.os == 'macOS'
run: |
./meta_package_manager/bar_plugin.py
- name: uv run bar_plugin.py
if: runner.os == 'macOS'
run: |
uv run ./meta_package_manager/bar_plugin.py
uv --no-progress run ./meta_package_manager/bar_plugin.py
- name: Sequential, bar plugin tests - macOS
if: runner.os == 'macOS'
# XXX bar plugin calls way too many external commands to be run in parallel.
run: >
uv run pytest --exitfirst
uv --no-progress run pytest --exitfirst
--numprocesses=0 --run-non-destructive --run-destructive
./tests/test_bar_plugin.py
Expand Down

0 comments on commit 73d4cc6

Please sign in to comment.