Skip to content

Commit

Permalink
ci: ensure tests against poetry-plugin-export suite
Browse files Browse the repository at this point in the history
  • Loading branch information
abn authored and radoering committed Apr 16, 2022
1 parent 40a533e commit dca0c56
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,19 @@ jobs:

- name: Run pytest
run: poetry run python -m pytest -p no:sugar -q tests/

- name: Get Plugin Version (poetry-plugin-export)
id: poetry-plugin-export-version
run: |
echo ::set-output name=version::$(\
poetry show poetry-plugin-export | grep version | cut -d : -f 2 | xargs)
- name: Checkout Plugin Source (poetry-plugin-export)
uses: actions/checkout@v2
with:
path: poetry-plugin-export
repository: python-poetry/poetry-plugin-export
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/

0 comments on commit dca0c56

Please sign in to comment.