|
1 | 1 | name: Test
|
2 | 2 |
|
3 | 3 | on:
|
4 |
| - push: |
5 |
| - branches: |
6 |
| - - main |
7 |
| - pull_request: |
8 |
| - branches: |
9 |
| - - main |
10 |
| - schedule: |
11 |
| - - cron: "0 0 * * *" |
| 4 | + push: |
| 5 | + branches: |
| 6 | + - main |
| 7 | + pull_request: |
| 8 | + branches: |
| 9 | + - main |
| 10 | + schedule: |
| 11 | + - cron: "0 0 * * *" |
12 | 12 |
|
13 | 13 | jobs:
|
14 |
| - source: |
15 |
| - runs-on: ubuntu-latest |
16 |
| - strategy: |
17 |
| - matrix: |
18 |
| - python-version: ["3.9", "3.10", "3.11"] |
19 |
| - steps: |
20 |
| - - uses: actions/checkout@v4 |
21 |
| - - name: Use Python ${{ matrix.python-version }} |
22 |
| - uses: actions/setup-python@v5 |
23 |
| - with: |
24 |
| - python-version: ${{ matrix.python-version }} |
25 |
| - - name: Install Python Dependencies |
26 |
| - run: pip install -r requirements/test-run.txt |
27 |
| - - name: Run Tests |
28 |
| - run: nox -t test |
29 |
| - coverage: |
30 |
| - runs-on: ubuntu-latest |
31 |
| - steps: |
32 |
| - - uses: actions/checkout@v4 |
33 |
| - - name: Use Latest Python |
34 |
| - uses: actions/setup-python@v5 |
35 |
| - with: |
36 |
| - python-version: "3.10" |
37 |
| - - name: Install Python Dependencies |
38 |
| - run: pip install -r requirements/test-run.txt |
39 |
| - - name: Run Tests |
40 |
| - run: nox -t test -- --coverage |
| 14 | + source: |
| 15 | + runs-on: ubuntu-latest |
| 16 | + strategy: |
| 17 | + matrix: |
| 18 | + python-version: ["3.9", "3.10", "3.11"] |
| 19 | + steps: |
| 20 | + - uses: actions/checkout@v4 |
| 21 | + - name: Use Python ${{ matrix.python-version }} |
| 22 | + uses: actions/setup-python@v5 |
| 23 | + with: |
| 24 | + python-version: ${{ matrix.python-version }} |
| 25 | + - name: Install Python Dependencies |
| 26 | + run: pip install -r requirements/test-run.txt |
| 27 | + - name: Run Tests |
| 28 | + run: nox -t test |
| 29 | + coverage: |
| 30 | + runs-on: ubuntu-latest |
| 31 | + steps: |
| 32 | + - uses: actions/checkout@v4 |
| 33 | + - name: Use Latest Python |
| 34 | + uses: actions/setup-python@v5 |
| 35 | + with: |
| 36 | + python-version: "3.11" |
| 37 | + - name: Install Python Dependencies |
| 38 | + run: pip install -r requirements/test-run.txt |
| 39 | + - name: Run Tests |
| 40 | + run: nox -t test -- --coverage |
0 commit comments