Skip to content

Commit

Permalink
ci: match export plugin tests for removed method
Browse files Browse the repository at this point in the history
  • Loading branch information
abn committed May 9, 2022
1 parent 6cddbe4 commit 6a03be9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,4 +108,7 @@ jobs:
ref: refs/tags/${{ steps.poetry-plugin-export-version.outputs.version }}

- name: Run pytest (poetry-plugin-export)
run: poetry run python -m pytest -p no:sugar -q poetry-plugin-export/tests/
run: |
# patch test mock for removed method
sed -i s/poetry.factory.Factory.create_config/poetry.config.config.Config.create/g poetry-plugin-export/tests/conftest.py
poetry run python -m pytest -p no:sugar -q poetry-plugin-export/tests/

0 comments on commit 6a03be9

Please sign in to comment.