summaryrefslogtreecommitdiffstatshomepage
path: root/.github/workflows
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-10-04 19:11:23 +0500
committerEgor Tensin <egor@tensin.name>2026-10-04 19:27:53 +0500
commitc78afa73e3d5704a9f91d74a6961dbef85d1ed56 (patch)
tree1414c03b9a2b70473cab25d1b10e2d5e6bea594a /.github/workflows
parentworkflows/ci: remove unnecessary action parameters (diff)
downloadvk-scripts-c78afa73e3d5704a9f91d74a6961dbef85d1ed56.tar.gz
vk-scripts-c78afa73e3d5704a9f91d74a6961dbef85d1ed56.zip
workflows/ci: add a job to test on various Ubuntu versions
Diffstat (limited to '.github/workflows')
-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: