matrix-webhook/.github/workflows/test.yml
Guilhem Saurel abe6497421 setup tests
2021-07-13 11:41:05 +02:00

12 lines
353 B
YAML

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