Skip to content

Commit

Permalink
changes to actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ronanstokes-db committed May 23, 2024
1 parent 2482dca commit 0031075
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 6 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
coverage:
status:
project:
default:
target: auto
threshold: 0.5%
patch:
default:
target: auto
threshold: 0.5%
6 changes: 3 additions & 3 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v3
2 changes: 0 additions & 2 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,4 @@ jobs:
- name: Publish test coverage to coverage site
uses: codecov/codecov-action@v1
with:
files: ./coverage.xml
name: dbldatagen
verbose: true
3 changes: 2 additions & 1 deletion makefile
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@ dev-test-with-html-report:

test: buildenv
@echo "$(OK_COLOR)=> Running unit tests$(NO_COLOR)"
pipenv run pytest tests/ --cov $(PACKAGE_NAME) --cov-report=xml
#pipenv run pytest tests/ --cov $(PACKAGE_NAME) --cov-report=xml
pipenv run pytest tests/ --cov $(PACKAGE_NAME)

test-with-html-report: buildenv
@echo "$(OK_COLOR)=> Running unit tests with HTML test coverage report$(NO_COLOR)"
Expand Down

0 comments on commit 0031075

Please sign in to comment.