Skip to content
This repository has been archived by the owner on May 27, 2024. It is now read-only.

tests

tests #139

Workflow file for this run

name: tests
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8, 3.9]
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
pip install pytest-cov
pip install -r requirements.txt
- name: Perform tests
run: |
pytest -v --cov=penguins --cov-report=xml
- name: Upload code coverage
uses: codecov/codecov-action@v1
with:
file: ./coverage.xml