Skip to content

Feat: bump ray to latest 5 versions. #174

Feat: bump ray to latest 5 versions.

Feat: bump ray to latest 5 versions. #174

name: test for protobuf
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
run-unit-tests-on-for-protobuf:
strategy:
matrix:
protobuf_ver: ["3.19", "3.20", "4.23"]
timeout-minutes: 60
runs-on: ubuntu-22.04
container: docker.io/library/ubuntu:22.04
steps:
- uses: actions/checkout@v2
- name: Install basic dependencies
run: |
apt-get update
apt-get install -yq wget gcc g++ python3.10 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
# Revert setuptools for compatibility with ray dashboard.
pip install setuptools==69.5.1
pip install pytest torch cloudpickle cryptography numpy
pip install protobuf==${{ matrix.protobuf_ver }}
pip install ray==2.4.0
- name: Build and test
run: |
. py3/bin/activate
pip install -e . -v
sh test.sh