Skip to content

Edited: flake8.yml, pytest.yml. Created: create_release.yml, scripts … #20

Edited: flake8.yml, pytest.yml. Created: create_release.yml, scripts …

Edited: flake8.yml, pytest.yml. Created: create_release.yml, scripts … #20

Workflow file for this run

name: Tests
on:
push:
branches:
- master
jobs:
linters:
name: Run Flake8
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install flake8
- name: Run Flake8
run: flake8 --config config.flake8 || exit 1
pytest:
name: Run Pytest
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pytest
- name: Run Pytest
run: pytest || exit 1