Merge pull request #55 from shanepelletier/master #73
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 | |
on: | |
push: | |
branches: | |
- main | |
- master | |
pull_request: | |
branches: | |
- main | |
- master | |
jobs: | |
unit-tests: | |
name: Unit Tests | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: install virtualenv | |
run: sudo apt-get install python3-virtualenv | |
- name: Run unit tests | |
run: | | |
make test | |
lint: | |
name: black/lint | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: install virtualenv | |
run: sudo apt-get install python3-virtualenv | |
- name: Perform black/lint tests | |
run: | | |
make lint |