Skip to content

Merge pull request #346 from 0hsn/feat/update-package-management #66

Merge pull request #346 from 0hsn/feat/update-package-management

Merge pull request #346 from 0hsn/feat/update-package-management #66

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.13
runs-on: ubuntu-latest
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COINSTATS_API_KEY: ${{ secrets.COINSTATS_API_KEY }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python 3.13
uses: actions/setup-python@v5
with:
python-version: "3.13"
cache: "pip"
- name: Install dependencies
run: pip install -r requirements-dev.txt
- name: Run tests and generate .coverage
run: py.test -s --ignore=chk --cov=./chk
- name: Upload to Coveralls.io
uses: coverallsapp/github-action@v2