chore(dependencies): update dependencies #12
Workflow file for this run
This file contains hidden or 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
| --- | |
| # | |
| # https://coveralls.io/ | |
| # | |
| name: update coverage report (coveralls) | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| coverage: | |
| name: generate coverage report | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: checkout repository | |
| uses: actions/checkout@v4 | |
| - name: configure Python (using PDM) | |
| uses: pdm-project/setup-pdm@v4 | |
| with: | |
| python-version-file: pyproject.toml | |
| - name: install dependencies | |
| run: | | |
| pdm install | |
| - name: generate coverage report | |
| run: | | |
| pdm run coverage run --source=feeph.i2c -m pytest tests/ | |
| # coveralls recognizes the presence of .coverage but claims there | |
| # is nothing to report; creating a report in lcov format fixes that | |
| mkdir -p coverage | |
| pdm run coverage-lcov --output_file_path=coverage/lcov.info | |
| - name: coveralls action | |
| uses: coverallsapp/github-action@v2 |