Add docker-compose.dev.yml and dev/test scripts #230
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci | |
on: | |
- push | |
- pull_request | |
jobs: | |
test: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: true | |
- name: Check available cgroups | |
run: | | |
mount | grep cgroup | |
- name: Build docker image | |
run: | | |
docker compose -p cms -f docker-compose.test.yml build testcms | |
- name: Run tests | |
run: | | |
docker compose -p cms -f docker-compose.test.yml run --rm testcms | |
- uses: codecov/codecov-action@v3 | |
with: | |
files: ./codecov/unittests.xml | |
flags: unittests | |
- uses: codecov/codecov-action@v3 | |
with: | |
files: ./codecov/functionaltests.xml | |
flags: functionaltests |