.github/workflows/pipelines.yml
name: "Staticfy test"
on:
pull_request:
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: [3.6, 3.7, 3.8, 3.8.6, 3.9]
runs-on: ${{ matrix.os }}
steps:
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- uses: actions/checkout@v2
- run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
name: Install dependencies
- name: Lint
run: flake8 .
- run: python tests.py
name: Test