From 0609b4226155013b77e73139a6a3f0be179d1804 Mon Sep 17 00:00:00 2001 From: AzideCupric <57004769+AzideCupric@users.noreply.github.com> Date: Sun, 13 Mar 2022 21:35:39 +0800 Subject: [PATCH 1/2] fix mistakes --- .github/workflows/pytest.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 53d60a9..eecdd2c 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -3,7 +3,7 @@ on: [push] jobs: do-a-test: runs-on: ubuntu-latest - step: + steps: - uses: actions/checkout@v2 - name: Set up python 3.10 uses: actions/setup-python@v2 @@ -21,8 +21,5 @@ jobs: run: poetry run pytest --cov-report html --cov-report xml --cov=./src/plugins/nonebot_bison --junitxml=test-results/junit.xml -k 'not compare' - name: Collect coverage run: poetry run coverage html --include='src/*' - - codecov/upload: - file: coverage.xml - - store_artifacts: - path: htmlcov - \ No newline at end of file + + From 0979d8c0757d45e4f5a555339cf60fb964a6e511 Mon Sep 17 00:00:00 2001 From: AzideCupric <57004769+AzideCupric@users.noreply.github.com> Date: Sun, 13 Mar 2022 21:38:27 +0800 Subject: [PATCH 2/2] Update pytest.yml --- .github/workflows/pytest.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index eecdd2c..32ec89e 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -10,7 +10,6 @@ jobs: with: python-version: '3.10' # Version range or exact version of a Python version to use, using SemVer's version range syntax architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified - - run: Python -V - name: Dependencies install run: | python -m pip install --upgrade pip poetry