From bd7997497b8917fe3246c6f285efc7ccf885fdb1 Mon Sep 17 00:00:00 2001 From: bunkerity Date: Tue, 10 Nov 2020 15:25:49 +0100 Subject: [PATCH] autotest through github actions --- .github/workflow/autotest.yml | 19 +++++++++++++++++++ auto.test.yml | 6 ------ 2 files changed, 19 insertions(+), 6 deletions(-) create mode 100644 .github/workflow/autotest.yml delete mode 100644 auto.test.yml diff --git a/.github/workflow/autotest.yml b/.github/workflow/autotest.yml new file mode 100644 index 0000000..cf70902 --- /dev/null +++ b/.github/workflow/autotest.yml @@ -0,0 +1,19 @@ +name: Automatic test + +on: + push: + branches: [dev, master] + pull_request: + branches: [dev, master] + +jobs: + test: + runs_on: ubuntu-latest + steps: + - name: Checkout source code + - uses: actions/checkout@v2 + - name: Build the image + run: docker build -t autotest . + - name: Run autotest + run: docker run autotest test + diff --git a/auto.test.yml b/auto.test.yml deleted file mode 100644 index 775d244..0000000 --- a/auto.test.yml +++ /dev/null @@ -1,6 +0,0 @@ -versions: "3" - -services: - sut: - build: . - command: test