Code Testing #92
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: Code Testing | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
schedule: | |
- cron: '42 1 * * *' | |
concurrency: | |
group: "codecheck-${{ github.ref }}" | |
cancel-in-progress: true | |
jobs: | |
codecheck: | |
runs-on: ubuntu-latest | |
name: Run codecheck | |
steps: | |
- name: Checkout source | |
uses: actions/checkout@v2 | |
- name: pip install wheel (to make install black work) | |
run: pip3 install wheel | |
- name: pip install flake8, isort + black, vulture | |
run: pip3 install flake8 isort black vulture | |
- name: Codecheck execution | |
run: make codecheck | |
unittests: | |
runs-on: ubuntu-latest | |
name: Run unit tests | |
steps: | |
- name: Checkout source | |
uses: actions/checkout@v2 | |
- name: Install pytest | |
run: pip3 install pytest | |
- name: Run Pytest | |
run: pytest |