From 04b13d72a68202c7dd321ee974b4bdc00161db5b Mon Sep 17 00:00:00 2001 From: Kristoffer Andersson Date: Tue, 28 May 2024 10:57:59 +0200 Subject: [PATCH] ci: remove doctests work --- .github/workflows/test.yml | 58 -------------------------------------- 1 file changed, 58 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f80e69a..228927f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -79,64 +79,6 @@ jobs: # name: codecov-umbrella verbose: true - doctests: - # This action runs doctests for coverage collection and uploads them to codecov.io. - # This requires the secret `CODECOV_TOKEN` be set as secret on GitHub, both for - # Actions and Dependabot - - name: "${{ matrix.os }} / 3.8 / doctest" - strategy: - max-parallel: 4 - fail-fast: false - matrix: - os: [ubuntu] - - runs-on: ${{ matrix.os }}-latest - continue-on-error: true # allow failure until doctests are added - env: - OS: ${{ matrix.os }}-latest - steps: - - uses: actions/checkout@v4 - with: - submodules: true - - - name: Set up the environment - uses: pdm-project/setup-pdm@v4 - id: setup-python - with: - python-version: ${{ env.MINIMUM_PYTHON_VERSION }} - - - name: Load cached venv - id: cached-venv - uses: actions/cache@v4 - with: - path: .venv - key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/pyproject.toml') }}-${{ hashFiles('.github/workflows/test.yml') }} - - - name: Install dependencies - if: steps.cached-venv.outputs.cache-hit != 'true' - run: make install-dev - #---------------------------------------------- - # Run tests and upload coverage - #---------------------------------------------- - - name: make doc-tests - run: make doc-tests cov_report=xml - - - name: Upload coverage to Codecov - uses: codecov/codecov-action@v4 - with: - token: ${{ secrets.CODECOV_TOKEN }} - # directory: ./coverage - env_vars: OS,PYTHON,TESTTYPE - fail_ci_if_error: true - # files: ./coverage/coverage.xml - # flags: unittests - # name: codecov-umbrella - verbose: true - env: - PYTHON: ${{ env.MINIMUM_PYTHON_VERSION }} - TESTTYPE: doctest - minimal: # This action chooses the oldest version of the dependencies permitted by Cargo.toml to ensure # that this crate is compatible with the minimal version that this crate and its dependencies