Skip to content

Update test.yml

Update test.yml #11

Workflow file for this run

name: Run Pytest Tests
on:
push: # Run on push to any branch
branches: [ main ]

Check failure on line 5 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/test.yml

Invalid workflow file

You have an error in your yaml syntax on line 5
pull_request: # Run on PRs targeting main
branches: [ main ]
workflow_dispatch: # Manual run button
schedule:
- cron: '0 13 * * *' # Daily at 9:00 AM Eastern (13:00 UTC)
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.12
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run tests
run: pytest