Skip to content

test: add test for main package #78

test: add test for main package

test: add test for main package #78

Workflow file for this run

on: ["push", "pull_request"]
name: Coveralls Test Coverage
permissions:
contents: read
jobs:
coveralls:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up Python
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
with:
python-version: "3.10"
cache: 'pip'
- name: Install dependencies
run: |
pip install -r src/requirements.txt
pip install coveralls
pip install pytest
- name: Run Coverall
env:
PYTHONPATH: ./src
GITHUB_TOKEN: ${{ secrets. GITHUB_TOKEN }}
run: |
coverage run -m pytest tests/
coveralls