Skip to content

phenom

phenom #171

Workflow file for this run

name: unit_tests
# do the following jobs on push and on pull requests
on: [push, pull_request]
# define the jobs
jobs:
unit-tests:
name: ${{ matrix.config.os }} (${{ matrix.config.py }})
runs-on: ${{ matrix.config.os }}
strategy:
matrix:
config:
- {os: windows-latest, py: '3.7'}
- {os: macOS-latest, py: '3.7'}
- {os: ubuntu-latest, py: '3.7'}
- {os: ubuntu-latest, py: '3.8'}
- {os: ubuntu-latest, py: '3.9'}
steps:
- name: checkout repo content
uses: actions/checkout@v2 # checkout the repository content to github runner
- name: setup python
uses: actions/setup-python@v2
with:
python-version: "${{ matrix.config.py }}"
- name: install dependencies
run: |
python -m pip install --upgrade pip
pip install .
- name: run pytest for ${{ matrix.python-version }}
run: pytest