Skip to content

Commit d91cf98

Browse files
committed
update test platforms
1 parent fd55c87 commit d91cf98

1 file changed

Lines changed: 20 additions & 29 deletions

File tree

.github/workflows/run-tests-push.yml

Lines changed: 20 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -3,31 +3,6 @@ on:
33
push:
44

55
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-
316
run-tests-ubuntu-24_04-python-3_12_from_apt:
327
runs-on: ubuntu-24.04
338
name: Ubuntu 24.04, Python 3.12 from Apt
@@ -47,7 +22,7 @@ jobs:
4722
steps:
4823
- run: sudo apt update -y
4924
- run: sudo apt-get -U upgrade -y
50-
- uses: actions/checkout@v4
25+
- uses: actions/checkout@v6
5126
- uses: actions/setup-python@v6
5227
with:
5328
python-version: "3.13"
@@ -60,9 +35,9 @@ jobs:
6035
- run: echo '### Coverage Report' >> $GITHUB_STEP_SUMMARY
6136
- run: /tmp/venv/bin/coverage report --format=markdown --skip-empty --sort=-cover >> $GITHUB_STEP_SUMMARY
6237

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
6641
steps:
6742
- uses: actions/checkout@v6
6843
- run: sudo apt update -y
@@ -73,3 +48,19 @@ jobs:
7348
- run: /tmp/venv/bin/python -m pip install -e .[dev]
7449
- run: xvfb-run /tmp/venv/bin/python -m pytest -m "not slow" -v -rP --doctest-modules countess/ tests/
7550

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

Comments
 (0)