mirror of
https://github.com/senju1337/senju.git
synced 2025-12-23 23:39:27 +00:00
Merge pull request #52 from senju1337/chore/OPS-91
chore: rename code coverage ci for a more descriptive name
This commit is contained in:
commit
74bc9068bb
1 changed files with 5 additions and 6 deletions
|
|
@ -1,4 +1,4 @@
|
|||
name: CI # Name of the workflow
|
||||
name: Code Coverage
|
||||
|
||||
on:
|
||||
push:
|
||||
|
|
@ -6,10 +6,9 @@ on:
|
|||
- master
|
||||
- devel
|
||||
|
||||
|
||||
jobs:
|
||||
test: # Defines a job called "test"
|
||||
runs-on: ubuntu-latest # The job runs on the latest Ubuntu runner
|
||||
test: # Defines a job called "test"
|
||||
runs-on: ubuntu-latest # The job runs on the latest Ubuntu runner
|
||||
|
||||
steps:
|
||||
- name: Checkout Repository
|
||||
|
|
@ -18,7 +17,7 @@ jobs:
|
|||
- name: Set up Python
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.10'
|
||||
python-version: "3.10"
|
||||
- name: Poetry
|
||||
run: pip install poetry
|
||||
|
||||
|
|
@ -28,7 +27,7 @@ jobs:
|
|||
- name: Run tests with coverage
|
||||
run: poetry run coverage run -m pytest
|
||||
|
||||
- name: Generate Coverage Report # Ensure creation of coverage.xml
|
||||
- name: Generate Coverage Report # Ensure creation of coverage.xml
|
||||
run: poetry run coverage xml
|
||||
|
||||
- name: Upload coverage to Codecov
|
||||
Loading…
Add table
Add a link
Reference in a new issue