From 62db931882de7661e2609e61d5b24276f793f493 Mon Sep 17 00:00:00 2001 From: Tim Kimber Date: Thu, 27 Feb 2020 14:12:58 +0000 Subject: [PATCH] Fix muddled debug/non-debug --- .github/workflows/run-all-tests-debug.yml | 8 +++++--- .github/workflows/run-all-tests.yml | 14 +++++++++----- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/.github/workflows/run-all-tests-debug.yml b/.github/workflows/run-all-tests-debug.yml index a8cbf52..27fd3bd 100644 --- a/.github/workflows/run-all-tests-debug.yml +++ b/.github/workflows/run-all-tests-debug.yml @@ -1,4 +1,4 @@ -name: Run all tests +name: Run all tests DEBUG on: repository_dispatch jobs: build: @@ -7,5 +7,7 @@ jobs: - uses: actions/checkout@v1 - name: Build the docker-compose stack run: docker-compose up -d --build - - name: Run test suite - run: test/run-all-tests.sh + - name: Check running containers + run: docker ps + - name: Setup tmate session + uses: mxschmitt/action-tmate@v1 diff --git a/.github/workflows/run-all-tests.yml b/.github/workflows/run-all-tests.yml index 1f344ca..0e43289 100644 --- a/.github/workflows/run-all-tests.yml +++ b/.github/workflows/run-all-tests.yml @@ -1,5 +1,11 @@ name: Run all tests -on: repository_dispatch +on: + push: + branches: + - master + pull_request: + branches: + - master jobs: build: runs-on: ubuntu-latest @@ -7,7 +13,5 @@ jobs: - uses: actions/checkout@v1 - name: Build the docker-compose stack run: docker-compose up -d --build - - name: Check running containers - run: docker ps - - name: Setup tmate session - uses: mxschmitt/action-tmate@v1 + - name: Run test suite + run: test/run-all-tests.sh