|
3 | 3 | push: |
4 | 4 |
|
5 | 5 | jobs: |
6 | | - run-tests-ubuntu-22_04-python-3_10: |
7 | | - runs-on: ubuntu-22.04 |
8 | | - name: Ubuntu 22.04, Python 3.10 |
9 | | - steps: |
10 | | - - uses: actions/checkout@v6 |
11 | | - - uses: actions/setup-python@v6 |
12 | | - with: |
13 | | - python-version: "3.10" |
14 | | - cache: 'pip' |
15 | | - - run: sudo apt install xvfb |
16 | | - - run: pip install --upgrade pip |
17 | | - - run: pip install .[dev] |
18 | | - - run: xvfb-run pytest -m "not slow" -v -rP --doctest-modules countess/ tests/ |
19 | | - |
20 | | - run-tests-ubuntu-22_04-python-3_11_from_apt: |
21 | | - runs-on: ubuntu-22.04 |
22 | | - name: Ubuntu 22.04, Python 3.11 from Apt |
23 | | - steps: |
24 | | - - uses: actions/checkout@v6 |
25 | | - - run: sudo apt update -y |
26 | | - - run: sudo apt install python3.11-full python3-pip xvfb |
27 | | - - run: python3.11 -m pip install --upgrade pip |
28 | | - - run: python3.11 -m pip install -e .[dev] |
29 | | - - run: xvfb-run python3.11 -m pytest -m "not slow" -v -rP --doctest-modules countess/ tests/ |
30 | | - |
31 | 6 | run-tests-ubuntu-24_04-python-3_12_from_apt: |
32 | 7 | runs-on: ubuntu-24.04 |
33 | 8 | name: Ubuntu 24.04, Python 3.12 from Apt |
|
47 | 22 | steps: |
48 | 23 | - run: sudo apt update -y |
49 | 24 | - run: sudo apt-get -U upgrade -y |
50 | | - - uses: actions/checkout@v4 |
| 25 | + - uses: actions/checkout@v6 |
51 | 26 | - uses: actions/setup-python@v6 |
52 | 27 | with: |
53 | 28 | python-version: "3.13" |
|
60 | 35 | - run: echo '### Coverage Report' >> $GITHUB_STEP_SUMMARY |
61 | 36 | - run: /tmp/venv/bin/coverage report --format=markdown --skip-empty --sort=-cover >> $GITHUB_STEP_SUMMARY |
62 | 37 |
|
63 | | - run-tests-ubuntu-26_04-python-3_from_apt: |
64 | | - runs-on: ubuntu-26.04 |
65 | | - name: Ubuntu 26.04, Python 3 from Apt |
| 38 | + run-tests-ubuntu-latest-python-3_from_apt: |
| 39 | + runs-on: ubuntu-latest |
| 40 | + name: Ubuntu (Latest), Python 3 from Apt |
66 | 41 | steps: |
67 | 42 | - uses: actions/checkout@v6 |
68 | 43 | - run: sudo apt update -y |
|
73 | 48 | - run: /tmp/venv/bin/python -m pip install -e .[dev] |
74 | 49 | - run: xvfb-run /tmp/venv/bin/python -m pytest -m "not slow" -v -rP --doctest-modules countess/ tests/ |
75 | 50 |
|
| 51 | + run-tests-ubuntu-latest-python-latest: |
| 52 | + runs-on: ubuntu-latest |
| 53 | + name: Ubuntu (Latest), Python (Latest) |
| 54 | + steps: |
| 55 | + - uses: actions/checkout@v6 |
| 56 | + - uses: actions/setup-python@v6 |
| 57 | + with: |
| 58 | + python-version: ">3.13" |
| 59 | + cache: 'pip' |
| 60 | + - run: sudo apt update -y |
| 61 | + - run: sudo apt-get -U upgrade -y |
| 62 | + - run: sudo apt install xvfb libopenblas0 libopenblas-dev |
| 63 | + - run: python3 -m venv /tmp/venv |
| 64 | + - run: /tmp/venv/bin/python -m pip install --upgrade pip |
| 65 | + - run: /tmp/venv/bin/python -m pip install -e .[dev] |
| 66 | + - run: xvfb-run /tmp/venv/bin/python -m pytest -m "not slow" -v -rP --doctest-modules countess/ tests/ |
0 commit comments