From 5047663a82e8fe84651a86fb29bd065375125da5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B4=9B=E6=B0=B4=E5=B1=85=E5=AE=A4?= Date: Mon, 12 Sep 2022 23:20:17 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20=E7=A7=BB=E9=99=A4=E5=A4=9A?= =?UTF-8?q?=E4=BD=99=20CI=20=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6=E5=B9=B6?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=A7=A6=E5=8F=91=E7=9B=AE=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/ workflows/test.yml | 35 ----------------------------------- .github/workflows/test.yml | 2 ++ 2 files changed, 2 insertions(+), 35 deletions(-) delete mode 100644 .github/ workflows/test.yml diff --git a/.github/ workflows/test.yml b/.github/ workflows/test.yml deleted file mode 100644 index 9ce05ec..0000000 --- a/.github/ workflows/test.yml +++ /dev/null @@ -1,35 +0,0 @@ -name: test - -on: - push: - branches: - - main - paths: - - 'tests/**' - pull_request: - types: [ opened, synchronize ] - paths: - - 'modules/apihelper/**' - - 'modules/wiki/**' - - 'tests/**' - -jobs: - pytest: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - name: Set up Python 3.10 - uses: actions/setup-python@v3 - with: - python-version: "3.10" - - name: Install poetry - run: | - pip install --upgrade poetry - poetry config virtualenvs.create false - - name: Install dependencies - run: | - poetry install - poetry install --extras test - - name: Test with pytest - run: | - python -m pytest \ No newline at end of file diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6561029..9ce05ec 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,6 +9,8 @@ on: pull_request: types: [ opened, synchronize ] paths: + - 'modules/apihelper/**' + - 'modules/wiki/**' - 'tests/**' jobs: