Skip to content

feat: v1.0.14

feat: v1.0.14 #14

Workflow file for this run

name: Run Unit Tests
on:
push:
branches:
- "**" # including all branches before excluding master
- "!master"
- "!main"
jobs:
run_tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.x"]
steps:
- uses: actions/checkout@master
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@master
with:
python-version: ${{ matrix.python-version }}
- name: Install poetry
run: |
python -m pip install --upgrade pip setuptools wheel
python -m pip install poetry
- name: Install poetry dependencies
run: |
python -m poetry update --with test
python -m poetry install --extras all
- name: Run tests
run: |
python -m poetry run coverage run --omit=./tests/* --source=./ddcDatabases -m pytest -v
- name: Generate Coverage Report
run: |
python -m poetry run coverage report
python -m poetry run coverage xml
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}