Skip to content

Run Coverage Analysis #72

Run Coverage Analysis

Run Coverage Analysis #72

Workflow file for this run

name: Run Coverage Analysis
on:
push:
branches:
- master
pull_request:
types: [assigned, opened, synchronize, reopened]
release:
types: [published]
jobs:
coverage:
name: Coverage
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.x
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
python -m pip install coveralls
- name: Run coverage analysis
run: python -m coverage run --source=xtuml,bridgepoint -m pytest
- name: Upload to Coveralls
run: python -m coveralls --service=github
env:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}