Skip to content

Implement GitHub actions #9

Implement GitHub actions

Implement GitHub actions #9

Workflow file for this run

name: Code Quality
on: [pull_request]
jobs:
build:
uses: ./.github/workflows/build.yml
test:
name: Test
needs: [build]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: "pip"
- name: Download .venv
uses: actions/download-artifact@v4
with:
name: venv
- name: Run tests
run: make test
lint:
name: Lint
needs: [build]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: "pip"
- name: Download .venv
uses: actions/download-artifact@v4
with:
name: venv
- name: Run linter
run: make lint