Skip to content

Fix INSTRUMENT_VENDOR #380

Fix INSTRUMENT_VENDOR

Fix INSTRUMENT_VENDOR #380

Workflow file for this run

name: test
on:
push:
branches:
- master
pull_request:
jobs:
integration:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 1
lfs: true
- name: Set up Python 3.7
uses: actions/setup-python@v4
with:
python-version: 3.7
- name: Cache virtualenv
uses: actions/cache@v3
id: cache-pip
with:
path: venv
key: venv-${{ hashFiles('requirements.txt') }}-0.4.1-0.1.0
- name: Install dependencies in a venv
if: steps.cache-pip.outputs.cache-hit != 'true'
run: |
python3 -m venv venv
. venv/bin/activate
pip install -q -U pip
pip install --progress-bar=off -r requirements.txt
- name: Docker build
run: |
docker build -t covid19 .
- name: Run lint checks & tests
run: |
. venv/bin/activate
make test
- name: Upload Report PDFs
uses: actions/upload-artifact@v2
with:
name: example reports
path: report-*.pdf