Skip to content

Reorganize part 2 of the testing class #81

Reorganize part 2 of the testing class

Reorganize part 2 of the testing class #81

name: Run all the tests for PRs, with OS/Python matrix
on:
[push, pull_request]
jobs:
run-tests:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
python-version: [3.8, 3.9]
steps:
- uses: actions/checkout@v2
- 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 pytest numpy
- name: Test with pytest
run:
pytest -sv hands_on/pyanno_voting