Skip to content

chore: fixed automatic doc building with github automatisation #24

chore: fixed automatic doc building with github automatisation

chore: fixed automatic doc building with github automatisation #24

Workflow file for this run

name: Run Tests
on:
push:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install dependencies
run: |
pip install -e ".[testing]"
- name: Run tests with coverage
run: pytest --cov=idf_analysis --cov-report=term-missing --cov-report=xml --cov-branch
- name: Verify coverage report exists
run: ls -l coverage.xml || { echo "coverage.xml not found!"; exit 1; }
- name: Upload coverage report
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: MarkusPic/intensity_duration_frequency_analysis
#file: ./coverage.xml
fail_ci_if_error: true