Add best of flag to choose #105
Workflow file for this run
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: tests | |
on: | |
push: | |
branches: [ bobbit-0.2.x ] | |
pull_request: | |
types: [opened, synchronize, reopened] | |
branches: [ bobbit-0.2.x ] | |
jobs: | |
build: | |
name: run tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Installs dependencies | |
run: | | |
python3 -m pip install -r requirements.txt | |
- name: Install and run Pylint | |
run: | | |
python3 -m pip install pylint | |
python3 -m pip install coverage | |
# Only will fail for actual errors | |
python3 -m pylint src/ -d "W,C,R" | |
- name: Runs tests | |
run: | | |
python3 -m coverage run -m unittest discover | |
python3 -m coverage html |