2021-06-16 19:23:25 -04:00
|
|
|
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
|
2021-07-11 10:17:09 -04:00
|
|
|
run: docker-compose -f test.yml run --entrypoint "" tests ./tests/start.py
|
|
|
|
- name: "Upload coverage to Codecov"
|
|
|
|
uses: codecov/codecov-action@v1
|