From 73d4cc606d771bac1855ab0b9954ed45ebada29e Mon Sep 17 00:00:00 2001 From: Kevin Deldycke Date: Thu, 18 Jul 2024 13:35:31 +0400 Subject: [PATCH] Do not show progress bars on uv runs --- .github/workflows/autofix.yaml | 10 ++++---- .github/workflows/autolock.yaml | 2 +- .github/workflows/changelog.yaml | 2 +- .github/workflows/debug.yaml | 2 +- .github/workflows/docs.yaml | 2 +- .github/workflows/label-sponsors.yaml | 2 +- .github/workflows/labeller-content-based.yaml | 2 +- .github/workflows/labeller-file-based.yaml | 2 +- .github/workflows/labels.yaml | 10 ++++---- .github/workflows/lint.yaml | 2 +- .github/workflows/release.yaml | 2 +- .github/workflows/tests.yaml | 24 +++++++++---------- 12 files changed, 31 insertions(+), 31 deletions(-) diff --git a/.github/workflows/autofix.yaml b/.github/workflows/autofix.yaml index 2f54914b1..ee3fb1159 100644 --- a/.github/workflows/autofix.yaml +++ b/.github/workflows/autofix.yaml @@ -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. @@ -63,6 +63,6 @@ jobs: branch: update-readme autofix: - uses: kdeldycke/workflows/.github/workflows/autofix.yaml@v4.3.0 + uses: kdeldycke/workflows/.github/workflows/autofix.yaml@v4.3.1 # Depends on the previous job so that the Markdown syntax auto-fixer can have an effect on auto-updated content. needs: update-readme \ No newline at end of file diff --git a/.github/workflows/autolock.yaml b/.github/workflows/autolock.yaml index fcea00a5b..39ad7df92 100644 --- a/.github/workflows/autolock.yaml +++ b/.github/workflows/autolock.yaml @@ -8,4 +8,4 @@ name: Autolock jobs: autolock: - uses: kdeldycke/workflows/.github/workflows/autolock.yaml@v4.3.0 + uses: kdeldycke/workflows/.github/workflows/autolock.yaml@v4.3.1 diff --git a/.github/workflows/changelog.yaml b/.github/workflows/changelog.yaml index 70bdd8676..3b95c9e9c 100644 --- a/.github/workflows/changelog.yaml +++ b/.github/workflows/changelog.yaml @@ -20,4 +20,4 @@ name: Changelog & versions jobs: changelog: - uses: kdeldycke/workflows/.github/workflows/changelog.yaml@v4.3.0 + uses: kdeldycke/workflows/.github/workflows/changelog.yaml@v4.3.1 diff --git a/.github/workflows/debug.yaml b/.github/workflows/debug.yaml index 1deb9bbbb..bbf188950 100644 --- a/.github/workflows/debug.yaml +++ b/.github/workflows/debug.yaml @@ -6,7 +6,7 @@ name: Debug jobs: debug: - uses: kdeldycke/workflows/.github/workflows/debug.yaml@v4.3.0 + uses: kdeldycke/workflows/.github/workflows/debug.yaml@v4.3.1 click-color-context: strategy: diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 3988ae657..61c67b084 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -17,4 +17,4 @@ name: Docs jobs: docs: - uses: kdeldycke/workflows/.github/workflows/docs.yaml@v4.3.0 \ No newline at end of file + uses: kdeldycke/workflows/.github/workflows/docs.yaml@v4.3.1 \ No newline at end of file diff --git a/.github/workflows/label-sponsors.yaml b/.github/workflows/label-sponsors.yaml index 0690586f6..624142b5a 100644 --- a/.github/workflows/label-sponsors.yaml +++ b/.github/workflows/label-sponsors.yaml @@ -11,4 +11,4 @@ name: Label sponsors jobs: label-sponsors: - uses: kdeldycke/workflows/.github/workflows/label-sponsors.yaml@v4.3.0 \ No newline at end of file + uses: kdeldycke/workflows/.github/workflows/label-sponsors.yaml@v4.3.1 \ No newline at end of file diff --git a/.github/workflows/labeller-content-based.yaml b/.github/workflows/labeller-content-based.yaml index e34660be3..bea104b95 100644 --- a/.github/workflows/labeller-content-based.yaml +++ b/.github/workflows/labeller-content-based.yaml @@ -16,7 +16,7 @@ name: Labeller (content-based) jobs: labeller: - uses: kdeldycke/workflows/.github/workflows/labeller-file-based.yaml@v4.3.0 + uses: kdeldycke/workflows/.github/workflows/labeller-file-based.yaml@v4.3.1 with: extra-rules: | "🔌 bar-plugin": diff --git a/.github/workflows/labeller-file-based.yaml b/.github/workflows/labeller-file-based.yaml index c7cf1af3b..c9b4b8159 100644 --- a/.github/workflows/labeller-file-based.yaml +++ b/.github/workflows/labeller-file-based.yaml @@ -13,7 +13,7 @@ name: Labeller (file-based) jobs: labeller: - uses: kdeldycke/workflows/.github/workflows/labeller-file-based.yaml@v4.3.0 + uses: kdeldycke/workflows/.github/workflows/labeller-file-based.yaml@v4.3.1 with: extra-rules: | "🔌 bar-plugin": diff --git a/.github/workflows/labels.yaml b/.github/workflows/labels.yaml index 9471c1c1a..5f309120b 100644 --- a/.github/workflows/labels.yaml +++ b/.github/workflows/labels.yaml @@ -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. @@ -61,7 +61,7 @@ jobs: branch: update-labels labels: - uses: kdeldycke/workflows/.github/workflows/labels.yaml@v4.3.0 + uses: kdeldycke/workflows/.github/workflows/labels.yaml@v4.3.1 needs: generate-labels with: extra-label-files: | diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 6bc6f3c92..8349c02af 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -16,4 +16,4 @@ name: Lint jobs: lint: - uses: kdeldycke/workflows/.github/workflows/lint.yaml@v4.3.0 + uses: kdeldycke/workflows/.github/workflows/lint.yaml@v4.3.1 diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 1aaea0e80..b7832058e 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -10,7 +10,7 @@ name: Build & release jobs: release: - uses: kdeldycke/workflows/.github/workflows/release.yaml@v4.3.0 + uses: kdeldycke/workflows/.github/workflows/release.yaml@v4.3.1 secrets: PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }} diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index e2526f7d5..df240b93a 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -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 @@ -564,7 +564,7 @@ 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: | @@ -572,13 +572,13 @@ jobs: - 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