Skip to content

ci fixes

ci fixes #7

Workflow file for this run

name: CI
on: push
jobs:
static:
name: Static Analysis
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Cache pip dependencies
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('requirements*.txt') }}
restore-keys: |
${{ runner.os }}-pip-${{ hashFiles('requirements*.txt') }}
${{ runner.os }}-pip-
- name: Test requirements
run: make requirements-test
- name: Project requirements
run: make requirements
- name: Run unit tests
run: make test
- name: Coverage report
run: coverage report