Skip to content

set again to cronjob #12

set again to cronjob

set again to cronjob #12

Workflow file for this run

name: Run linters and tests
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Run image
uses: abatilo/actions-poetry@v2
with:
poetry-version: "1.4.2"
- name: Install poetry dependencies
run: poetry install
- name: Prefect Cloud login
run: |
poetry run prefect config set PREFECT_API_KEY=${{secrets.PREFECT_API_KEY}}
poetry run prefect cloud workspace set --workspace "${{secrets.PREFECT_WORKSPACE}}"
- name: Run ruff
run: |
poetry run ruff check . --fix
- name: Run pytest
run: |
poetry run pytest -s tests/test_posts_and_comments.py