Skip to content

use pagenator in list item to avoid 1000 limit #581

use pagenator in list item to avoid 1000 limit

use pagenator in list item to avoid 1000 limit #581

Workflow file for this run

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.7", "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 }}