Skip to content

Use Flake8 from GitHub, not GitLab #8

Use Flake8 from GitHub, not GitLab

Use Flake8 from GitHub, not GitLab #8

Workflow file for this run

name: ci
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Set up sources
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
- name: Run pre-commit
run: python -m pip install tox && python -m tox -e pre-commit
test:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.7", "3.8", "3.9", "3.10"]
runs-on: ${{ matrix.os }}
steps:
- name: Set up sources
uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install Ubuntu dependencies
run: sudo apt install pass gnupg
if: matrix.os == 'ubuntu-latest'
- name: Install macOS dependencies
run: brew install pass gnupg
if: matrix.os == 'macos-latest'
- name: Run pytest
run: python -m pip install tox && python -m tox -e py3