forked from pex-tool/pex
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial Windows CI setup w/o caching.
- Loading branch information
Showing
2 changed files
with
47 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -216,12 +216,54 @@ jobs: | |
with: | ||
path: ${{ env._PEX_TEST_DEV_ROOT }}/devpi | ||
key: ${{ steps.restore-devpi-server.outputs.cache-primary-key }} | ||
windows-tests: | ||
name: tox -e ${{ matrix.tox-env }} ${{ matrix.pex-test-pos-args }} | ||
needs: org-check | ||
runs-on: windows-2022 | ||
strategy: | ||
matrix: | ||
include: | ||
- python-version: [ 3, 13 ] | ||
tox-env: format-check,lint-check,typecheck,package,docs | ||
- python-version: [ 3, 13 ] | ||
tox-env: py313-pip25_0 | ||
- python-version: [ 3, 13 ] | ||
tox-env: py313-pip25_0-integration | ||
pex-test-pos-args: --shard 1/2 | ||
- python-version: [ 3, 13 ] | ||
tox-env: py313-pip25_0-integration | ||
pex-test-pos-args: --shard 2/2 | ||
steps: | ||
- name: Checkout Pex | ||
uses: actions/checkout@v4 | ||
with: | ||
# We need branches and tags for some ITs. | ||
fetch-depth: 0 | ||
path: repo | ||
- name: Setup Python ${{ join(matrix.python-version, '.') }} | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: "${{ join(matrix.python-version, '.') }}" | ||
# Some ITs need this for VCS URLs of the form git+ssh://[email protected]/... | ||
- name: Setup SSH Agent | ||
uses: webfactory/[email protected] | ||
env: | ||
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }} | ||
if: env.SSH_PRIVATE_KEY != '' | ||
with: | ||
ssh-private-key: ${{ env.SSH_PRIVATE_KEY }} | ||
- name: Run Tests | ||
continue-on-error: true | ||
run: | ||
python -mpip install tox | ||
tox ${{ matrix.tox-env }} -- ${{ env._PEX_TEST_POS_ARGS }} ${{ matrix.pex-test-pos-args }} | ||
final-status: | ||
name: Gather Final Status | ||
needs: | ||
- checks | ||
- linux-tests | ||
- mac-tests | ||
- windows-tests | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
- name: Check Non-Success | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters