autotest through github actions
This commit is contained in:
parent
e89e34a84f
commit
bd7997497b
19
.github/workflow/autotest.yml
vendored
Normal file
19
.github/workflow/autotest.yml
vendored
Normal 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
|
||||||
|
|
||||||
@ -1,6 +0,0 @@
|
|||||||
versions: "3"
|
|
||||||
|
|
||||||
services:
|
|
||||||
sut:
|
|
||||||
build: .
|
|
||||||
command: test
|
|
||||||
Loading…
x
Reference in New Issue
Block a user