Skip to content

Fix workflows, even if it makes them not DRY #21

Fix workflows, even if it makes them not DRY

Fix workflows, even if it makes them not DRY #21

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
concurrency:
group: ci-tests-${{ github.ref }}-1
cancel-in-progress: true
jobs:
ci:
if: ${{ !startsWith(github.ref, 'refs/tags') }}
name: Build, Lint, Test
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install test/lint dependencies
run: pip install pytest pylint
- name: Run linter
run: pylint plover_q_and_a
- name: Run tests
run: pytest