setup tests

This commit is contained in:
Guilhem Saurel 2021-06-17 01:23:25 +02:00
parent fb17a87016
commit abe6497421
10 changed files with 3060 additions and 6 deletions

12
.github/workflows/test.yml vendored Normal file
View 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