Skip to content

Commit

Permalink
Try a different approach for problematic pipx
Browse files Browse the repository at this point in the history
  • Loading branch information
abravalheri committed Jan 19, 2023
1 parent 5a7ed2f commit dbba240
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/ci.yml
Expand Up @@ -34,8 +34,6 @@ jobs:
- uses: actions/setup-python@v4
id: setup-python
with: {python-version: "3.10"}
- name: Configure pipx
run: echo 'PIPX_DEFAULT_PYTHON=${{ steps.setup-python.outputs.python-path }}' >> $GITHUB_ENV
- name: Run static analysis and format checkers
run: pipx run pre-commit run --all-files --show-diff-on-failure
- name: Build package distribution files
Expand Down Expand Up @@ -70,14 +68,13 @@ jobs:
id: setup-python
with:
python-version: ${{ matrix.python }}
- name: Configure pipx
run: echo 'PIPX_DEFAULT_PYTHON=${{ steps.setup-python.outputs.python-path }}' >> $GITHUB_ENV
- name: Retrieve pre-built distribution files
uses: actions/download-artifact@v3
with: {name: python-distribution-files, path: dist/}
- name: Run tests
run: >-
pipx run tox
pipx run --python '${{ steps.setup-python.outputs.python-path }}'
tox
--installpkg '${{ needs.prepare.outputs.wheel-distribution }}'
-- -rFEx --durations 10 --color yes
- name: Generate coverage report
Expand Down

0 comments on commit dbba240

Please sign in to comment.