From e871d2c6805e8e7e1bdb6f83d29fc0307d4395d7 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Wed, 14 Oct 2026 18:20:35 +0500 Subject: allow running Docker tests locally --- .github/workflows/ci.yml | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) (limited to '.github/workflows/ci.yml') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d935638..fab1488 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -58,32 +58,24 @@ jobs: vk-status --version vk-sessions --version - name: Run tests - run: ./test/runner/main.sh + run: make test test_ubuntu: strategy: matrix: - codename: + distro: + # Keep in sync with those in Makefile: - noble - resolute runs-on: ubuntu-latest - container: - image: 'ubuntu:${{ matrix.codename }}' - name: 'Ubuntu: ${{ matrix.codename }}' + name: 'Ubuntu: ${{ matrix.distro }}' 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 with: submodules: recursive - name: Run tests - run: ./test/runner/main.sh + run: make 'test/docker/${{ matrix.distro }}' publish_pypi: needs: -- cgit v1.3