Skip to content

Merge pull request #19 from mpelchat04/20-cleanup #69

Merge pull request #19 from mpelchat04/20-cleanup

Merge pull request #19 from mpelchat04/20-cleanup #69

Workflow file for this run

name: test
on: [push, pull_request]
jobs:
run-tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11"]
steps:
- name: clone repo
uses: actions/[email protected]
- name: set up python ${{ matrix.python-version }}
uses: actions/[email protected]
with:
python-version: ${{ matrix.python-version }}
cache: "pip"
- name: install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pytest pytest-cov
- name: test with pytest
run: |
pytest --cov=. --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}