mirror of
https://github.com/pyTooling/Actions.git
synced 2026-02-12 02:56:56 +08:00
Adding and testing ubuntu-arm and windows-arm support.
This commit is contained in:
8
.github/workflows/InstallPackage.yml
vendored
8
.github/workflows/InstallPackage.yml
vendored
@@ -84,17 +84,17 @@ jobs:
|
||||
python -m pip install --disable-pip-version-check -U wheel
|
||||
|
||||
- name: 🔧 Install wheel from artifact (Ubuntu/macOS)
|
||||
if: matrix.system != 'windows'
|
||||
if: ( matrix.system != 'windows' && matrix.system != 'windows-arm' )
|
||||
run: |
|
||||
python -m pip install --disable-pip-version-check -U install/*.whl
|
||||
|
||||
- name: 🔧 Install wheel from artifact (Windows)
|
||||
if: matrix.system == 'windows'
|
||||
if: ( matrix.system == 'windows' || matrix.system == 'windows-arm' )
|
||||
run: |
|
||||
python -m pip install -v --disable-pip-version-check (Get-Item .\install\*.whl).FullName
|
||||
|
||||
- name: 📦 Run application tests (Ubuntu/macOS)
|
||||
if: matrix.system != 'windows'
|
||||
if: ( matrix.system != 'windows' && matrix.system != 'windows-arm' )
|
||||
run: |
|
||||
set +e
|
||||
|
||||
@@ -117,7 +117,7 @@ jobs:
|
||||
fi
|
||||
|
||||
- name: 📦 Run application tests (Windows)
|
||||
if: matrix.system == 'windows'
|
||||
if: ( matrix.system == 'windows' || matrix.system == 'windows-arm' )
|
||||
run: |
|
||||
$result=$(python -c "from ${{ inputs.package_name }} import __version__; print(f""Package version: {__version__}"")")
|
||||
Write-Host $result
|
||||
|
||||
Reference in New Issue
Block a user