From a8afd49f8417d858b4604b49ff3ed1066c76f058 Mon Sep 17 00:00:00 2001 From: Ben Busby Date: Tue, 23 Nov 2021 10:58:31 -0700 Subject: [PATCH] Move docker tests after api/unit testing It makes more sense to structure the order of tests to go from api and unit testing -> validate docker image works as expected -> build and deploy docker image. --- .github/workflows/docker_tests.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker_tests.yml b/.github/workflows/docker_tests.yml index 89fe3bd..e3a3a2f 100644 --- a/.github/workflows/docker_tests.yml +++ b/.github/workflows/docker_tests.yml @@ -1,9 +1,14 @@ name: docker_tests -on: [push, pull_request] +on: + workflow_run: + workflows: ["tests"] + branches: [main] + types: + - completed jobs: - test: + on-success: runs-on: ubuntu-latest steps: - name: checkout code