summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/ci.yml32
1 files changed, 30 insertions, 2 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 7511299..49dddd5 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -29,7 +29,7 @@ jobs:
- name: Run black
uses: psf/black@stable
- test:
+ test_python:
strategy:
matrix:
python-version:
@@ -60,8 +60,36 @@ jobs:
- name: Run tests
run: ./test/main.sh
+ test_ubuntu:
+ strategy:
+ matrix:
+ codename:
+ - focal
+ - jammy
+ - noble
+ - resolute
+ runs-on: ubuntu-latest
+ container:
+ image: 'ubuntu:${{ matrix.codename }}'
+ name: 'Ubuntu: ${{ matrix.codename }}'
+ steps:
+ - name: Install dependencies
+ run: |
+ apt update
+ DEBIAN_FRONTEND=noninteractive apt install -y --no-install-recommends \
+ ca-certificates \
+ python3 \
+ python3-matplotlib
+ - name: Checkout
+ uses: actions/checkout@v7
+ - name: Run tests
+ run: ./test/main.sh
+
publish_pypi:
- needs: [lint, test]
+ needs:
+ - lint
+ - test_python
+ - test_ubuntu
runs-on: ubuntu-latest
name: Publish
steps: