Skip to content

added more db tests #12

added more db tests

added more db tests #12

Workflow file for this run

name: Run Tests on PR
on:
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install Poetry
run: |
pip install poetry
- name: Install dependencies with Poetry
run: |
poetry install --no-interaction --with dev --without ML
- name: Run tests and generate coverage report
run: |
poetry run pytest --cov=audiostats --cov-report=lcov tests/
- name: Upload coverage to Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ./coverage.lcov