Skip to content

run-tests

run-tests #13

Workflow file for this run

name: run-tests
'on':
push:
branches:
- master
- develop
tags:
- '**'
pull_request:
branches:
- '**'
schedule:
- cron: '0 8 1 * *'
jobs:
pytest:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- '3.8'
- '3.9'
- '3.10'
- '3.11'
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- run: pip install --upgrade -e . pytest
- run: pytest
black:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- run: pip install --upgrade black
- run: black --check .
pylint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- run: pip install --upgrade -e . pylint
- run: pylint -E russell