Skip to content

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

Fix workflows, even if it makes them not DRY

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

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:

Check failure on line 13 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yml

Invalid workflow file

You have an error in your yaml syntax on line 13
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