setup tests
This commit is contained in:
parent
fb17a87016
commit
abe6497421
10 changed files with 3060 additions and 6 deletions
12
.github/workflows/test.yml
vendored
Normal file
12
.github/workflows/test.yml
vendored
Normal file
|
@ -0,0 +1,12 @@
|
|||
name: build docker image and run tests inside
|
||||
on: push
|
||||
jobs:
|
||||
tests:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v2
|
||||
- name: Start
|
||||
run: docker-compose -f test.yml up -d
|
||||
- name: Tests
|
||||
run: docker-compose -f test.yml run --entrypoint "" tests python -m unittest
|
Loading…
Add table
Add a link
Reference in a new issue