-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
17b0d19
commit 4f6d2f8
Showing
1 changed file
with
7 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
name: pytest | ||
name: test | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
pull_request: | ||
branches: | ||
- main | ||
|
@@ -34,10 +35,8 @@ jobs: | |
run: poetry install --with=dev | ||
- name: Run the tests | ||
run: poetry run -- pytest tests --cov=dfttoolkit --cov-report xml | ||
|
||
# TODO when approved for the maurergroup organisation | ||
# - name: Coveralls GitHub Action | ||
# uses: coverallsapp/[email protected] | ||
# with: | ||
# github-token: ${{ secrets.GITHUB_TOKEN }} | ||
# parallel: true # Enable parallel support for Coveralls if needed | ||
- name: Coveralls | ||
uses: coverallsapp/github-action@v2 | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
compare-ref: ${{ github.event.repository.default_branch }} |