chore(deps-dev): Bump ruff from 0.15.12 to 0.16.0 #1801
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Test | |
| on: | |
| push: | |
| jobs: | |
| test-worker: | |
| name: Test | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: | |
| - 'macos-latest' | |
| - 'ubuntu-latest' | |
| - 'windows-latest' | |
| python-version: | |
| - '3.14' | |
| runs-on: ${{ matrix.os }} | |
| env: | |
| DYLD_FALLBACK_LIBRARY_PATH: /opt/homebrew/lib | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v6 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v7 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install Ghostscript (Ubuntu) | |
| if: matrix.os == 'ubuntu-latest' | |
| run: sudo apt-get update -y && sudo apt-get install ghostscript -y | |
| - name: Install DejaVu, Pango and Ghostscript (MacOS) | |
| if: matrix.os == 'macos-latest' | |
| run: | | |
| brew update | |
| brew install --cask font-dejavu | |
| brew install pango ghostscript | |
| - name: Install DejaVu, Pango and Ghostscript (Windows) | |
| if: matrix.os == 'windows-latest' | |
| run: | | |
| C:\msys64\usr\bin\bash -lc 'pacman -S mingw-w64-x86_64-ttf-dejavu mingw-w64-x86_64-pango mingw-w64-x86_64-ghostscript --noconfirm' | |
| xcopy "C:\msys64\mingw64\share\fonts\TTF" "C:\Users\runneradmin\.fonts" /e /i | |
| echo "C:\msys64\mingw64\bin" | Out-File -FilePath $env:GITHUB_PATH | |
| rm C:\msys64\mingw64\bin\python.exe | |
| - name: Create build info | |
| run: | | |
| bash scripts/build-info.sh | |
| - name: Install dependencies | |
| run: | | |
| uv sync --all-packages --all-extras --dev | |
| - name: Prepare envvars | |
| shell: bash | |
| run: | | |
| echo "VERIFY_FAILS=_" >> $GITHUB_ENV | |
| echo "TEST_FAILS=_" >> $GITHUB_ENV | |
| - name: "Test: command-queue" | |
| continue-on-error: true | |
| run: | | |
| uv run --no-sync bash .github/test.sh dsw-command-queue | |
| - name: "Test: config" | |
| continue-on-error: true | |
| run: | | |
| uv run --no-sync bash .github/test.sh dsw-config | |
| - name: "Test: data-seeder" | |
| continue-on-error: true | |
| run: | | |
| uv run --no-sync bash .github/test.sh dsw-data-seeder | |
| - name: "Test: database" | |
| continue-on-error: true | |
| run: | | |
| uv run --no-sync bash .github/test.sh dsw-database | |
| - name: "Test: document-worker" | |
| continue-on-error: true | |
| run: | | |
| uv run --no-sync bash .github/test.sh dsw-document-worker | |
| - name: "Test: mailer" | |
| continue-on-error: true | |
| run: | | |
| uv run --no-sync bash .github/test.sh dsw-mailer | |
| - name: "Test: models" | |
| continue-on-error: true | |
| run: | | |
| uv run --no-sync bash .github/test.sh dsw-models | |
| - name: "Test: storage" | |
| continue-on-error: true | |
| run: | | |
| uv run --no-sync bash .github/test.sh dsw-storage | |
| - name: "Test: TDK" | |
| continue-on-error: true | |
| run: | | |
| uv run --no-sync bash .github/test.sh dsw-tdk | |
| - name: "Evaluate tests" | |
| shell: bash | |
| run: | | |
| cd packages/${{ matrix.package }} | |
| RET=0 | |
| if [ $VERIFY_FAILS == "_" ]; then | |
| echo "## Verify: passed" | |
| else | |
| echo "## Verify: failed for packages: $VERIFY_FAILS" | |
| RET=1 | |
| fi | |
| if [ $TEST_FAILS == "_" ]; then | |
| echo "## Test: passed" | |
| else | |
| echo "## Test: failed for packages: $TEST_FAILS" | |
| RET=1 | |
| fi | |
| exit $RET |