autotest through github actions
This commit is contained in:
parent
e89e34a84f
commit
bd7997497b
|
@ -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
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
versions: "3"
|
||||
|
||||
services:
|
||||
sut:
|
||||
build: .
|
||||
command: test
|
Loading…
Reference in New Issue