diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 788445c..1fe384c 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -2,13 +2,13 @@ name: pytest concurrency: group: ${{ github.workflow }}-${{ github.event.number }}-${{ github.event.ref }} cancel-in-progress: true -on: +on: # yamllint disable-line rule:truthy pull_request: push: branches: [main] workflow_dispatch: schedule: - - cron: '0 8 * * 1' + - cron: '0 8 * * 1' jobs: pytest: @@ -42,10 +42,11 @@ jobs: uses: codecov/codecov-action@v4 with: files: ./coverage.xml - flags: unittests # optional - name: codecov-umbrella # optional - fail_ci_if_error: false # optional (default = false) - verbose: true # optional (default = false) + flags: unittests # optional + name: codecov-umbrella # optional + token: ${{ secrets.CODECOV_TOKEN }} + verbose: true # optional (default = false) + pytest-pip-pre: timeout-minutes: 30 @@ -78,7 +79,7 @@ jobs: uses: codecov/codecov-action@v4 with: files: ./coverage.xml - flags: unittests # optional - name: codecov-umbrella # optional - fail_ci_if_error: false # optional (default = false) - verbose: true # optional (default = false) + flags: unittests # optional + name: codecov-umbrella # optional + token: ${{ secrets.CODECOV_TOKEN }} + verbose: true # optional (default = false) diff --git a/pyproject.toml b/pyproject.toml index 39aa04b..0dd3850 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -98,7 +98,6 @@ omit = [ '**/tests/**', ] - [tool.pytest.ini_options] addopts = '--durations 20 --junit-xml=junit-results.xml --verbose' filterwarnings = []