kopia lustrzana https://github.com/erdewit/HiFiScan
33 wiersze
627 B
YAML
33 wiersze
627 B
YAML
name: hifiscan
|
|
|
|
on: [ push, pull_request ]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
python-version: [ 3.8, 3.9, "3.10" ]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Set up Python ${{ matrix.python-version }}
|
|
uses: actions/setup-python@v2
|
|
with:
|
|
python-version: ${{ matrix.python-version }}
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install flake8 mypy .
|
|
|
|
- name: Flake8 static code analysis
|
|
run:
|
|
flake8 hifiscan
|
|
|
|
# - name: MyPy static code analysis
|
|
# run: |
|
|
# mypy -p hifiscan
|
|
|
|
|