-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
287 additions
and
187 deletions.
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
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
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 |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: test on many rays | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
|
||
jobs: | ||
run-unit-tests-on-many-rays: | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
ray_version: [2.0.0, 2.1.0, 2.2.0, 2.3.0, 2.4.0] | ||
|
||
timeout-minutes: 60 | ||
runs-on: ubuntu-latest | ||
container: docker.io/library/ubuntu:latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Install basic dependencies | ||
run: | | ||
apt-get update | ||
apt-get install -yq wget gcc g++ python3.9 zlib1g-dev zip libuv1.dev | ||
apt-get install -yq pip | ||
- name: Install python dependencies | ||
run: | | ||
python3 -m pip install virtualenv | ||
python3 -m virtualenv -p python3 py3 | ||
. py3/bin/activate | ||
which python | ||
pip install pytest torch cloudpickle cryptography | ||
# six is required in ray-2.1.0 | ||
pip install "protobuf<4.0" six | ||
pip install ray==${{ matrix.ray_version }} | ||
- name: Build and test | ||
run: | | ||
. py3/bin/activate | ||
pip install -e . -v | ||
sh test.sh |
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
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
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
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
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.