Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Verify minimum supported numpy in Windows Release CI #4279

Merged
merged 6 commits into from
Jun 16, 2022
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/workflows/release_linux_aarch64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,18 @@ jobs:
pytest && \
deactivate'

- name: Verify ONNX with the minimum supported numpy (from requirements.txt)
if: ${{ always() }}
run: |
docker run --rm -v ${{ github.workspace }}:/ws:rw --workdir=/ws \
${{ env.img }} \
bash -exc '\
source .env/bin/activate && \
python -m pip uninstall -y numpy onnx protobuf && python -m pip install numpy==1.16.6 protobuf && \
python -m pip install dist/*manylinux2014_aarch64.whl && \
pytest && \
deactivate'

- name: Verify ONNX with the minimum supported protobuf (from requirements.txt)
if: ${{ always() }}
run: |
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/release_linux_x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,13 @@ jobs:
python -m pip install dist/*manylinux2014_x86_64.whl
pytest

- name: Verify ONNX with the minimum supported numpy (from requirements.txt)
if: ${{ always() }}
run: |
python -m pip uninstall -y numpy onnx && python -m pip install numpy==1.16.6
python -m pip install dist/*manylinux2014_x86_64.whl
pytest

- name: Verify ONNX with the latest protobuf
if: ${{ always() }}
run: |
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/release_mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,13 @@ jobs:
for file in dist/*.whl; do python -m pip install --upgrade $file; done
pytest

- name: Verify ONNX with the minimum supported numpy (from requirements.txt)
if: ${{ always() }}
run: |
python -m pip uninstall -y numpy onnx && python -m pip install numpy==1.16.6
for file in dist/*.whl; do python -m pip install --upgrade $file; done
pytest

- name: Verify ONNX with the latest protobuf
if: ${{ always() }}
run: |
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/release_win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,14 @@ jobs:
Get-ChildItem -Path dist/*.whl | foreach {python -m pip install --upgrade $_.fullname}
pytest

- name: Verify ONNX with the minimum supported numpy (from requirements.txt)
if: ${{ always() }}
run: |
cd onnx
python -m pip uninstall -y numpy onnx && python -m pip install numpy==1.16.6
Get-ChildItem -Path dist/*.whl | foreach {python -m pip install --upgrade $_.fullname}
pytest

- name: Verify ONNX with the latest protobuf
if: ${{ always() }}
run: |
Expand Down