Remove test on release #159
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 with MUSE2 | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| schedule: | |
| - cron: 0 5 * * 1 | |
| workflow_dispatch: | |
| release: | |
| types: [published] | |
| jobs: | |
| test: | |
| name: Run Pytest | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, windows-latest, macos-latest] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: astral-sh/setup-uv@v7 | |
| with: | |
| enable-cache: true | |
| prune-cache: false | |
| activate-environment: true | |
| python-version: 3.14 | |
| - name: Install dependencies | |
| run: uv sync | |
| - name: Setup MUSE2 from main | |
| uses: ./.github/actions/setup-muse2-main | |
| - name: Verify MUSE2 installation | |
| uses: ./.github/actions/verify-muse2 | |
| - name: Run tests | |
| run: pytest | |
| - name: Upload coverage to Codecov | |
| # Latest linux release only - they should all be the same | |
| if: runner.os == 'Linux' && github.event_name == 'release' | |
| uses: codecov/codecov-action@v6 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| files: ./coverage.xml | |
| fail_ci_if_error: true |