Add host to Serverless client #122
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
| name: Code coverage | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - 'stable/**' | |
| pull_request: | |
| branches: | |
| - main | |
| - 'stable/**' | |
| jobs: | |
| coverage: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 60 | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Set up Python 3.11 | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.11' | |
| - name: Install tox | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install tox coveragepy-lcov 'coverage<7' | |
| - name: Run coverage | |
| run: tox -ecoverage | |
| - name: Convert to lcov | |
| run: coveragepy-lcov --output_file_path coveralls.info | |
| # - name: Upload report to Coveralls | |
| # uses: coverallsapp/github-action@v2 | |
| # with: | |
| # github-token: ${{ secrets.GITHUB_TOKEN }} | |
| # file: coveralls.info | |
| # format: lcov |