Feature/fix readment test ci #4
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: | |
pull_request: | |
branches: | |
- develop | |
jobs: | |
testing: | |
name: Automated Testing | |
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: Project requirements | |
run: make requirements | |
- name: Test requirements | |
run: make requirements-test | |
- name: Lint | |
run: make lint | |
- name: Run unit tests | |
run: make test | |
- name: Coverage report | |
run: coverage report | |