Skip to content

Merge pull request #3 from matyaskuti/github_actions_ci #7

Merge pull request #3 from matyaskuti/github_actions_ci

Merge pull request #3 from matyaskuti/github_actions_ci #7

Workflow file for this run

name: Lint and test
on:
- push
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- "3.10"
- "3.11"
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Pre-install dependencies
run: |
make install_lint_requirements
make install_test_requirements
- name: Lint
run: |
make lint
- name: Test
run: |
make test