thearn's picture
ci
d760922
raw
history blame contribute delete
561 Bytes
name: Python Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.x' # Use a recent Python 3 version
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pytest # Ensure pytest is installed
- name: Test with pytest
run: |
pytest