middleware_app/.forgejo/workflows/main.yml
continuist 4e9a87eb29
Some checks failed
Pipeline main branch / test (push) Failing after 6s
add to main.yml
2025-03-29 22:15:22 -04:00

32 lines
652 B
YAML

name: Pipeline main branch
on:
push:
branches:
- main
jobs:
test:
runs-on: ubuntu-20.04
steps:
- name: Check out repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.12
check-latest: true
update-environment: true
allow-prereleases: false
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest
pip install -r requirements.txt
- name: Run tests
run: |
pytest