From c226941cc06055766f7eb5649e25cd1f74fab688 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 3 Dec 2022 22:27:49 +0100 Subject: workflows/ci: rearrange dependencies Make the "example config" job depend on all the other test jobs; that way, it's faster to know when there's a failure in e.g. in the docker tests job. --- .github/workflows/ci.yml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cc56e5c..924dc18 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,7 +33,17 @@ jobs: - name: Unit tests run: python -m unittest --buffer + test_docker: + runs-on: ubuntu-latest + name: 'Test / Docker' + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Integration test (Docker) + run: sudo ./test/integration/docker/test.sh + test_example_config: + needs: [test_local, test_docker] runs-on: ubuntu-latest name: 'Test / example config' env: @@ -63,15 +73,6 @@ jobs: - name: Integration test (example config) run: ./test/integration/example/test.sh - test_docker: - runs-on: ubuntu-latest - name: 'Test / Docker' - steps: - - name: Checkout - uses: actions/checkout@v3 - - name: Integration test (Docker) - run: sudo ./test/integration/docker/test.sh - publish_docker: needs: [test_local, test_example_config, test_docker] runs-on: ubuntu-latest -- cgit v1.2.3