Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

Commit

Permalink
Update Prefect pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
bram-vdberg committed Oct 30, 2024
1 parent ce707fc commit c73db8c
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/prefect.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,27 @@ on:
push:
branches: [ main ]
jobs:
lint-format-types-test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11"]

steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install Requirements
run: pip install -r requirements/dev.txt
- name: Pylint
run: pylint src/
- name: Black
run: black --check ./
- name: Type Check (mypy)
run: mypy src --strict

prefect:
runs-on: ubuntu-latest
strategy:
Expand All @@ -24,3 +45,5 @@ jobs:
pip install -r requirements/prod.txt
prefect config set PREFECT_API_URL=$PREFECT_API_URL
python -m src.deploy_prefect.deployment

0 comments on commit c73db8c

Please sign in to comment.