Skip to content

Commit

Permalink
Test MS Store Python in GitHub Actions
Browse files Browse the repository at this point in the history
This helps catch issues such as pypa#1164.
  • Loading branch information
dechamps committed Dec 24, 2023
1 parent 1a3e6ad commit 8cb2b83
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,19 @@ jobs:
run: python -m pip install nox
- name: Execute Tests
run: nox --error-on-missing-interpreters --non-interactive --session tests-${{ matrix.python-version }}
msstore:
# Checks that pipx works with Python installed from the Microsoft Store.
# Designed to catch issues such as https://github.com/pypa/pipx/issues/1164.
runs-on: windows-latest
steps:
- uses: Cyberboss/install-winget@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: winget install python --source=msstore --disable-interactivity --accept-source-agreements --accept-package-agreements
- uses: actions/checkout@v4
- run: pip install .
- run: pipx install pycowsay
- run: pycowsay
man:
name: Build man page
runs-on: ubuntu-latest
Expand Down

0 comments on commit 8cb2b83

Please sign in to comment.