From 7426d68a9ff7f0072b498fe81278037943440d5e Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Wed, 12 Jul 2023 21:59:23 +0200 Subject: Makefile: add shortcuts for integration tests --- .github/workflows/ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dedadd7..96d8d0b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,10 +32,10 @@ jobs: run: pip install -q -e . - name: Verify that scripts are runnable run: cgitize --version - - name: Integration test (local) - run: ./test/integration/local/test.sh - name: Unit tests - run: python -m unittest --buffer + run: make test/unit + - name: Integration test (local) + run: make test/local test_docker: runs-on: ubuntu-latest @@ -44,7 +44,7 @@ jobs: - name: Checkout uses: actions/checkout@v3 - name: Integration test (Docker) - run: sudo ./test/integration/docker/test.sh + run: sudo make test/docker test_example_config: needs: [test_local, test_docker] @@ -74,7 +74,7 @@ jobs: with: ssh-private-key: '${{ secrets.SSH_KEY }}' - name: Integration test (example config) - run: ./test/integration/example/test.sh + run: make test/example publish_docker: needs: [test_local, test_example_config, test_docker] -- cgit v1.2.3