autotest through github actions

This commit is contained in:
bunkerity 2020-11-10 15:25:49 +01:00
parent e89e34a84f
commit bd7997497b
No known key found for this signature in database
GPG Key ID: 654FFF51CEF7CC47
2 changed files with 19 additions and 6 deletions

19
.github/workflow/autotest.yml vendored Normal file
View File

@ -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

View File

@ -1,6 +0,0 @@
versions: "3"
services:
sut:
build: .
command: test