Bump version: 1.5.0 → 1.5.1 #23
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
name: Coverage | |
on: | |
push: | |
branches: | |
- main | |
- develop | |
jobs: | |
coveralls: | |
name: Coveralls | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: ["ubuntu-latest"] | |
python-version: ["3.10"] | |
env: | |
EIT_PROCESSING_TEST_DATA: ${{ github.workspace }}/../eitprocessing_data/ | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} | |
COVERALLS_FLAG_NAME: python-${{ matrix.python-version }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/install_eitprocessing | |
with: | |
dependencies: testing | |
extract-data: true | |
python-version: ${{ matrix.python-version }} | |
token: ${{ secrets.GITHUB_TOKEN }} | |
data-directory: ${{ env.EIT_PROCESSING_TEST_DATA }} | |
- name: Run coveralls | |
run: | | |
pytest --cov --cov-report xml --cov-report term --cov-report html | |
git config --global --add safe.directory /ci | |
coveralls --service=github |