Skip to content

update

update #800

Workflow file for this run

name: ci
on:
push:
branches:
- "master"
pull_request: {}
jobs:
build:
name: "CI"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build Docker image
run: |
docker build . -t gnssrefl
- name: Create Docker container
run: |
docker run --name gnssrefl -d -v "$PWD:/src" gnssrefl tail -f /dev/null
- name: Run smoke tests
run: |
docker exec -i gnssrefl /src/software_tests
- name: Install pytest
run: |
docker exec -i gnssrefl pip3 install 'pytest~=7.2' 'pytest-mock~=3.10'
- name: Run unit tests
run: |
docker exec -i gnssrefl pytest /src/test