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: