Add extra 1s wait for next CF invalidation request #693
Workflow file for this run
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: Unittests | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
- release_* | |
jobs: | |
test: | |
name: Python ${{ matrix.python-version }} tests | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ["3.8", "3.9"] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip setuptools tox | |
- name: Run unittests on python${{ matrix.python-version }} | |
run: python -m tox -e test | |
- name: Upload pytest html report | |
uses: actions/upload-artifact@v2 | |
if: failure() | |
with: | |
path: __pytest_reports/charon-unit-tests.html | |
name: charon-unit-tests_python${{ matrix.os.python }}.html | |
- name: Run coveralls-python | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
COVERALLS_FLAG_NAME: python${{ matrix.python-version }} | |
COVERALLS_PARALLEL: true | |
run: | | |
python -m pip install --upgrade coveralls | |
python -m coveralls --service=github | |
coveralls-finish: | |
name: Finish coveralls-python | |
needs: test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Finished | |
run: | | |
pip3 install --upgrade pip setuptools coveralls | |
/home/runner/.local/bin/coveralls --finish --service=github | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |