mirror of
https://github.com/senju1337/senju.git
synced 2025-12-24 07:39:29 +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:
|
on:
|
||||||
push:
|
push:
|
||||||
|
|
@ -6,10 +6,9 @@ on:
|
||||||
- master
|
- master
|
||||||
- devel
|
- devel
|
||||||
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test: # Defines a job called "test"
|
test: # Defines a job called "test"
|
||||||
runs-on: ubuntu-latest # The job runs on the latest Ubuntu runner
|
runs-on: ubuntu-latest # The job runs on the latest Ubuntu runner
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repository
|
- name: Checkout Repository
|
||||||
|
|
@ -18,7 +17,7 @@ jobs:
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: '3.10'
|
python-version: "3.10"
|
||||||
- name: Poetry
|
- name: Poetry
|
||||||
run: pip install poetry
|
run: pip install poetry
|
||||||
|
|
||||||
|
|
@ -28,7 +27,7 @@ jobs:
|
||||||
- name: Run tests with coverage
|
- name: Run tests with coverage
|
||||||
run: poetry run coverage run -m pytest
|
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
|
run: poetry run coverage xml
|
||||||
|
|
||||||
- name: Upload coverage to Codecov
|
- name: Upload coverage to Codecov
|
||||||
Loading…
Add table
Add a link
Reference in a new issue