From 5b1fdce3227bdbaf952473848f62d31ee2b5afec Mon Sep 17 00:00:00 2001 From: Qing Wang Date: Tue, 11 Jul 2023 17:26:17 +0800 Subject: [PATCH] FIX Signed-off-by: Qing Wang --- .github/workflows/test_on_ray2.0.0.yml | 37 ------------------ .github/workflows/test_on_ray2.4.0.yml | 38 ------------------- .../workflows/unit_tests_on_ray_matrix.yml | 2 +- 3 files changed, 1 insertion(+), 76 deletions(-) delete mode 100644 .github/workflows/test_on_ray2.0.0.yml delete mode 100644 .github/workflows/test_on_ray2.4.0.yml diff --git a/.github/workflows/test_on_ray2.0.0.yml b/.github/workflows/test_on_ray2.0.0.yml deleted file mode 100644 index 992435a..0000000 --- a/.github/workflows/test_on_ray2.0.0.yml +++ /dev/null @@ -1,37 +0,0 @@ -name: test on ray2.0.0 - -on: - push: - branches: [ main ] - pull_request: - branches: [ main ] - -jobs: - run-unit-tests: - 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 - pip install ray==2.0.0 - - - name: Build and test - run: | - . py3/bin/activate - pip install -e . -v - sh test.sh diff --git a/.github/workflows/test_on_ray2.4.0.yml b/.github/workflows/test_on_ray2.4.0.yml deleted file mode 100644 index 11b0a3c..0000000 --- a/.github/workflows/test_on_ray2.4.0.yml +++ /dev/null @@ -1,38 +0,0 @@ -name: test on ray2.4.0 - -on: - push: - branches: [ main ] - pull_request: - branches: [ main ] - -jobs: - run-unit-tests: - 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 - pip install "protobuf<4.0" - pip install ray==2.4.0 - - - name: Build and test - run: | - . py3/bin/activate - pip install -e . -v - sh test.sh diff --git a/.github/workflows/unit_tests_on_ray_matrix.yml b/.github/workflows/unit_tests_on_ray_matrix.yml index 843b191..1ea4bdd 100644 --- a/.github/workflows/unit_tests_on_ray_matrix.yml +++ b/.github/workflows/unit_tests_on_ray_matrix.yml @@ -11,7 +11,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - ray_version: [2.0.0, 2.4.0] + ray_version: [2.0.0, 2.1.0, 2.2.0, 2.3.0, 2.4.0] timeout-minutes: 60 runs-on: ubuntu-latest