Skip to content

Fake data Issue #354 #1117

Fake data Issue #354

Fake data Issue #354 #1117

Workflow file for this run

name: Test Docker image
on:
push:
pull_request:
types: [opened, reopened]
schedule:
- cron: "0 12 * * 1"
jobs:
push_to_registry:
name: Build docker file for testing
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2
- name: Build Docker image
run: docker compose -f test-docker-compose.yml build
- name: Run tests inside the container
run: docker compose -f test-docker-compose.yml run api
- name: Copy coverage
run: |
# copy file
mv ./src/tests/.coverage .
mv ./src/tests/coverage.xml .
- name: "Upload coverage to Codecov"
uses: codecov/codecov-action@v2
with:
fail_ci_if_error: false