Skip to content

Merge pull request #341 from 0hsn/refactor/fetch-mod-general-refactor #63

Merge pull request #341 from 0hsn/refactor/fetch-mod-general-refactor

Merge pull request #341 from 0hsn/refactor/fetch-mod-general-refactor #63

Workflow file for this run

name: Run coverage test and generate report
on:
push:
branches:
- main
workflow_dispatch: ~
jobs:
coverage:
name: Runs on ubuntu-latest with 3.11.0
runs-on: ubuntu-latest
if: ${{ ! github.event.pull_request.draft }}
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'pip'
- name: Install dependencies
run: pip install -r requirements-dev.txt
- name: Run tests and generate .coverage
run: python -m pytest --cov=./chk
- name: Upload to coveralls.io
run: coveralls