Skip to content
This repository has been archived by the owner on Apr 3, 2023. It is now read-only.

Commit

Permalink
ci(coverage): add coverage.yaml github action
Browse files Browse the repository at this point in the history
  • Loading branch information
HamidMolareza committed Apr 1, 2023
1 parent d137023 commit 8106295
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/coverage.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Coverage Report

on:
push:
tags:
- 'v*'
workflow_dispatch:

jobs:
coverage:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.10'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install tox
- name: Run tests and generate coverage report
run: |
tox -e coverage

0 comments on commit 8106295

Please sign in to comment.