Files
scan_ip/.gitea/workflows/test-python.yml
Gilles Soulier 829c44df72
Some checks are pending
Test Python Application / test (push) Waiting to run
test workflows
2025-01-04 13:22:34 +01:00

30 lines
559 B
YAML

name: Test Python Application
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.10
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run tests
run: |
pytest tests/