|
1 | 1 | name: Tests |
2 | 2 |
|
3 | 3 | on: |
4 | | - push: |
5 | | - branches: |
6 | | - - main |
7 | | - paths: |
8 | | - - browsr/** |
9 | | - - pyproject.toml |
10 | | - - .github/workflows/tests.yaml |
11 | | - pull_request: |
12 | | - branches: ["**"] |
13 | | - paths: |
14 | | - - browsr/** |
15 | | - - pyproject.toml |
16 | | - - .github/workflows/tests.yaml |
17 | | - schedule: |
18 | | - - cron: 0 12 1 * * |
| 4 | + push: |
| 5 | + branches: |
| 6 | + - main |
| 7 | + paths: |
| 8 | + - browsr/** |
| 9 | + - pyproject.toml |
| 10 | + - .github/workflows/tests.yaml |
| 11 | + pull_request: |
| 12 | + branches: ["**"] |
| 13 | + paths: |
| 14 | + - browsr/** |
| 15 | + - pyproject.toml |
| 16 | + - .github/workflows/tests.yaml |
| 17 | + schedule: |
| 18 | + - cron: 0 12 1 * * |
19 | 19 | jobs: |
20 | | - test-suite: |
21 | | - runs-on: ubuntu-latest |
22 | | - strategy: |
23 | | - fail-fast: true |
24 | | - matrix: |
25 | | - include: |
26 | | - - { name: Python 3.13, python: "3.13" } |
27 | | - - { name: Python 3.12, python: "3.12" } |
28 | | - - { name: Python 3.11, python: "3.11" } |
29 | | - - { name: Python 3.10, python: "3.10" } |
30 | | - - { name: Python 3.10, python: "3.9" } |
31 | | - permissions: |
32 | | - contents: read |
33 | | - id-token: write |
34 | | - pull-requests: write |
35 | | - steps: |
36 | | - - name: test |
37 | | - uses: juftin/actions/taskfile@v1 |
38 | | - with: |
39 | | - checkout: true |
40 | | - setup-uv: true |
41 | | - task: test |
42 | | - install: true |
43 | | - github-token: ${{ secrets.GITHUB_TOKEN }} |
44 | | - annotations-pytest: ${{ matrix.python == '3.12' && true || false }} |
45 | | - pytest-coverage: ${{ matrix.python == '3.12' && true || false }} |
46 | | - env: |
47 | | - UV_PYTHON: ${{ matrix.python }} |
| 20 | + test-suite: |
| 21 | + runs-on: ubuntu-latest |
| 22 | + strategy: |
| 23 | + fail-fast: true |
| 24 | + matrix: |
| 25 | + include: |
| 26 | + - { name: Python 3.13, python: "3.13" } |
| 27 | + - { name: Python 3.12, python: "3.12" } |
| 28 | + - { name: Python 3.11, python: "3.11" } |
| 29 | + - { name: Python 3.10, python: "3.10" } |
| 30 | + - { name: Python 3.10, python: "3.9" } |
| 31 | + permissions: |
| 32 | + contents: read |
| 33 | + id-token: write |
| 34 | + pull-requests: write |
| 35 | + steps: |
| 36 | + - name: test |
| 37 | + uses: juftin/actions/taskfile@v1 |
| 38 | + with: |
| 39 | + checkout: true |
| 40 | + setup-uv: true |
| 41 | + task: test |
| 42 | + install: true |
| 43 | + github-token: ${{ secrets.GITHUB_TOKEN }} |
| 44 | + annotations-pytest: ${{ matrix.python == '3.12' && true || false }} |
| 45 | + pytest-coverage: ${{ matrix.python == '3.12' && true || false }} |
| 46 | + env: |
| 47 | + UV_PYTHON: ${{ matrix.python }} |
0 commit comments