Browse Source

Run all the tests in main action, add debug action

pull/740/head
Tim Kimber 6 years ago
parent
commit
56ad57227d
No known key found for this signature in database GPG Key ID: 3E1804964E76BD18
2 changed files with 11 additions and 8 deletions
  1. +11
    -0
      .github/workflows/run-all-tests-debug.yml
  2. +0
    -8
      .github/workflows/run-all-tests.yml

+ 11
- 0
.github/workflows/run-all-tests-debug.yml View File

@ -0,0 +1,11 @@
name: Run all tests
on: repository_dispatch
jobs:
build:
runs-on: ubuntu-latest
steps:
- 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

+ 0
- 8
.github/workflows/run-all-tests.yml View File

@ -2,20 +2,12 @@ name: Run all tests
on: repository_dispatch
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Build the docker-compose stack
run: docker-compose up -d --build
- name: Sleep
uses: jakejarvis/wait-action@master
with:
time: '60s'
- name: Check running containers
run: docker ps
- name: Setup tmate session
uses: mxschmitt/action-tmate@v1
- name: Run test suite
run: docker exec getssl-ubuntu bats /getssl/test

Loading…
Cancel
Save