diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3b49014..0b4c989 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,8 +27,13 @@ jobs: - name: Install dependencies run: pdm install -G toc -G codehilite - name: Run Tests + if: ${{ matrix.python-version == '3.11' }} + run: pdm run -v pytest tests + - name: Run Tests < 3.11 + if: ${{ matrix.python-version != '3.11' }} run: pdm run -v pytest --cov=marko/ --cov-report=xml tests - name: Upload coverage to Codecov + if: ${{ matrix.python-version != '3.11' }} uses: codecov/codecov-action@v1 with: token: ${{ secrets.CODECOV_TOKEN }}