ci(tests): Cleanup workflow runs #24
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 Scheduler Tests | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - '**' | |
| # Allows you to run this workflow manually from the Actions tab | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| checks: write | |
| jobs: | |
| scheduler: | |
| name: Run Scheduler Tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out the code | |
| uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v5 | |
| - name: Run Scheduler Tests | |
| run: make test-scheduler | |
| - name: Upload Coverage to Coveralls | |
| if: ${{ !env.ACT }} | |
| uses: coverallsapp/github-action@v2 | |
| with: | |
| file: ./scheduler/coverage.xml | |
| - name: Display Scheduler Coverage Metrics | |
| if: ${{ !env.ACT }} | |
| uses: 5monkeys/cobertura-action@v14 | |
| with: | |
| report_name: "Scheduler Coverage" | |
| path: ./scheduler/coverage.xml | |
| minimum_coverage: "80" |