Skip to content

Give the CI something real to check, and let it start #816

Give the CI something real to check, and let it start

Give the CI something real to check, and let it start #816

Workflow file for this run

name: Python CI
on:
push:
pull_request:
types: [opened, synchronize, reopened]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install dependencies
run: pip install -r requirements.txt
- name: The app has to import on a clean machine
run: python -c "import main"
- name: Run tests
run: pytest -q