Skip to content

Daily Test Workflow #102

Daily Test Workflow

Daily Test Workflow #102

Workflow file for this run

name: Daily Test Workflow
on:
schedule:
- cron: '0 0 * * *' # Runs every day at midnight UTC
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
ref: 'main'
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run tests
run: |
coverage run --branch -m unittest discover -s tests
- name: Generate coverage report
run: |
coverage xml
- name: Upload log files
uses: actions/upload-artifact@v4
with:
name: log-files
path: TestLogs/**
- name: Upload results to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}