update_target_counter back #178
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: 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 | |