KP-8714 Harvest from COMEDI #51
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: Python quality control pipeline | |
on: | |
pull_request: | |
types: | |
- opened | |
- reopened | |
- synchronize | |
push: | |
branches: | |
- main | |
permissions: | |
contents: read | |
jobs: | |
black: | |
runs-on: self-hosted | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install required Python packages | |
run: python3.8 -m pip install black --user | |
- name: Check formatting with Black | |
run: python3.8 -m black --check . | |
unit-test: | |
runs-on: self-hosted | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install required Python packages | |
run: python3.8 -m pip install -r requirements_dev.txt --user | |
- name: Test with pytest | |
run: python3.8 -m pytest |