Skip to content

Commit

Permalink
Added coverage to test CI
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanbmorgan committed Nov 14, 2024
1 parent 17b0d19 commit 4f6d2f8
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/pytest.yaml → .github/workflows/test.yaml
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
Expand Down Expand Up @@ -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 }}

0 comments on commit 4f6d2f8

Please sign in to comment.