Skip to content

Test new cg2 branch of isolate with Ubuntu 22.04 #203

Test new cg2 branch of isolate with Ubuntu 22.04

Test new cg2 branch of isolate with Ubuntu 22.04 #203

Workflow file for this run

name: ci
on:
- push
- pull_request
jobs:
test:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Install isolate v2
run: |
cd isolate && sudo apt-get install -y libcap-dev libsystemd-dev && make isolate && make isolate-cg-keeper && sudo make install && sudo cp systemd/* /etc/systemd/system/ && sudo systemctl daemon-reload && sudo isolate-cg-keeper && sudo systemctl start isolate.slice && sudo systemctl start isolate.service
- name: Check if isolate is running
run: |
systemctl status isolate.service
- 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