From 0963310c04c5683fd328e995866d46728eb0f754 Mon Sep 17 00:00:00 2001 From: Frost Ming Date: Thu, 22 Feb 2024 17:20:13 +0800 Subject: [PATCH] fix(ci): revert workflow change Signed-off-by: Frost Ming --- .github/workflows/ci.yml | 5 +++++ 1 file changed, 5 insertions(+) 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 }}