Bump piped from 27bccea to 2b70f42
#734
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: Run tests | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| branches: | |
| - master | |
| workflow_dispatch: | |
| jobs: | |
| py-test: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, macos-latest, windows-latest] | |
| python-version: ["3.11", "3.12", "3.13"] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
| with: | |
| submodules: "true" | |
| - name: Install Python | |
| uses: ./.github/actions/setup-py | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Run tests | |
| run: nox -s test | |
| # TODO: Could we switch over to gather coverage from the normal test runs and combining | |
| # the result once https://github.com/nedbat/coveragepy/issues/1002 is fixed? | |
| upload-coverage: | |
| # needs: [test] | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
| with: | |
| submodules: "true" | |
| - name: Install Python | |
| uses: ./.github/actions/setup-py | |
| - name: Record coverage | |
| run: nox -s test-coverage | |
| - name: Upload coverage | |
| uses: paambaati/codeclimate-action@f429536ee076d758a24705203199548125a28ca7 | |
| env: | |
| CC_TEST_REPORTER_ID: c224b886d9b26f98a5065f2d0c05199b36901cff33c67637481981bf03d4eab2 | |
| with: | |
| coverageLocations: .coverage.xml:coverage.py | |
| - name: Archive coverage | |
| uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 | |
| with: | |
| name: coverage | |
| path: ./coverage_html | |
| if-no-files-found: error |