Skip to content

Commit 2444521

Browse files
committed
ci: ensure tests against poetry-plugin-export suite
1 parent 2ff7813 commit 2444521

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/main.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,3 +84,19 @@ jobs:
8484

8585
- name: Run pytest
8686
run: poetry run python -m pytest -p no:sugar -q tests/
87+
88+
- name: Get Plugin Version (poetry-plugin-export)
89+
id: poetry-plugin-export-version
90+
run: |
91+
echo ::set-output name=version::$(\
92+
poetry show poetry-plugin-export | grep version | cut -d : -f 2 | xargs)
93+
94+
- name: Checkout Plugin Source (poetry-plugin-export)
95+
uses: actions/checkout@v2
96+
with:
97+
path: poetry-plugin-export
98+
repository: python-poetry/poetry-plugin-export
99+
ref: refs/tags/${{ steps.poetry-plugin-export-version.outputs.version }}
100+
101+
- name: Run pytest (poetry-plugin-export)
102+
run: poetry run python -m pytest -p no:sugar -q poetry-plugin-export/tests/

0 commit comments

Comments
 (0)