Skip to content

Commit

Permalink
Fix nightly platform test (open-mmlab#1945)
Browse files Browse the repository at this point in the history
* test

* fix

* fix

* test 3.8

* test

* test

* test

* test

* done

* format

Co-authored-by: Weisu Yin <weisuyin96@gmail.com>
  • Loading branch information
Weisu Yin and yinweisu authored Jul 12, 2022
1 parent d66f81d commit b9f7dce
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/platform_tests-command.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ on:
pr-sha:
description: 'The pr-sha of which the slash command was dispatched'
required: true

jobs:
setup:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -41,6 +42,7 @@ jobs:
run:
shell: bash
strategy:
fail-fast: false
matrix:
os: [macos-latest, windows-latest]
steps:
Expand Down Expand Up @@ -74,6 +76,7 @@ jobs:
run:
shell: bash
strategy:
fail-fast: false
matrix:
os: [macos-latest, windows-latest]
steps:
Expand Down Expand Up @@ -108,6 +111,7 @@ jobs:
run:
shell: bash
strategy:
fail-fast: false
matrix:
os: [macos-latest, windows-latest]
steps:
Expand Down Expand Up @@ -143,6 +147,7 @@ jobs:
run:
shell: bash
strategy:
fail-fast: false
matrix:
os: [macos-latest, windows-latest]
steps:
Expand All @@ -166,12 +171,12 @@ jobs:
shell: bash -l {0}
run: |
wget https://raw.githubusercontent.com/Homebrew/homebrew-core/fb8323f2b170bd4ae97e1bac9bf3e2983af3fdb0/Formula/libomp.rb
brew unlink libomp
brew install libomp.rb
rm libomp.rb
- name: unit-test
shell: bash -l {0}
run: |
python3 -m pip install --upgrade "mxnet<2.0.0"
python3 -m pip install --upgrade -e common/[tests]
python3 -m pip install --upgrade -e core/[all]
python3 -m pip install --upgrade -e features/
Expand All @@ -187,6 +192,7 @@ jobs:
run:
shell: bash
strategy:
fail-fast: false
matrix:
os: [macos-latest, windows-latest]
steps:
Expand Down

0 comments on commit b9f7dce

Please sign in to comment.