|
7 | 7 | - 'release/**' |
8 | 8 |
|
9 | 9 | jobs: |
10 | | - run-tests: |
11 | | - name: Execute unit tests |
12 | | - runs-on: ubuntu-latest |
13 | | - strategy: |
14 | | - fail-fast: false |
15 | | - matrix: |
16 | | - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] |
17 | | - steps: |
18 | | - - name: Set up Python ${{ matrix.python-version }} |
19 | | - uses: actions/setup-python@v4 |
20 | | - with: |
21 | | - python-version: ${{ matrix.python-version }} |
22 | | - - uses: actions/checkout@v4 |
23 | | - - name: Initialize the environment |
24 | | - uses: ./.github/actions/initialize |
25 | | - - name: Execute unit tests |
26 | | - run: pytest --cov=gemd --cov-report term-missing:skip-covered --cov-config=tox.ini --no-cov-on-fail --cov-fail-under=100 tests/ |
27 | | - run-tests-against-latest: |
28 | | - # These runs are intended to confirm the latest minor version of our dependencies we claim to |
29 | | - # support don't break with our latest changes. Since they're not the versions we directly state |
30 | | - # you should use (i.e. in requirements.txt), they arguably aren't critical, hence not blocking. |
31 | | - name: Non-blocking - Execute unit tests against latest version of dependencies |
32 | | - runs-on: ubuntu-latest |
33 | | - continue-on-error: true |
34 | | - strategy: |
35 | | - matrix: |
36 | | - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] |
37 | | - steps: |
38 | | - - name: Set up Python ${{ matrix.python-version }} |
39 | | - uses: actions/setup-python@v4 |
40 | | - with: |
41 | | - python-version: ${{ matrix.python-version }} |
42 | | - - uses: actions/checkout@v4 |
43 | | - - name: Initialize the environment |
44 | | - uses: ./.github/actions/initialize |
45 | | - with: |
46 | | - latest: 'true' |
47 | | - - name: Execute unit tests |
48 | | - run: pytest tests/ |
| 10 | + pr-tests: |
| 11 | + uses: CitrineInformatics/common-gh-actions/.github/workflows/run-tests.yml@v1 |
| 12 | + with: |
| 13 | + src: gemd |
0 commit comments