diff --git a/.github/workflows/installation_tests.yaml b/.github/workflows/installation_tests.yaml index 93f06b02..b6f7d10d 100644 --- a/.github/workflows/installation_tests.yaml +++ b/.github/workflows/installation_tests.yaml @@ -18,7 +18,7 @@ jobs: matrix: python-version: ['3.7', '3.8', '3.9', '3.10'] installation-option: ['basic', 'stable-baselines', 'stable-baselines3', 'ray-rllib'] - pip-version: ['23.0.1', ''] + python-packages-version: ['default', 'latest'] steps: - name: Set up Python ${{ matrix.python-version }} @@ -26,15 +26,17 @@ jobs: with: python-version: ${{ matrix.python-version }} - - name: Pre-install packages needed because of setup.py deprecation + - name: Setup environment configuration (default or latest) run: | - pip list - python3 -m pip install wheel==0.38.4 - if [ "${{ matrix.pip-version }}" == '' ]; then + if [ "${{ matrix.pip-version }}" == 'latest' ]; then python3 -m pip install -U pip - else - python3 -m pip install pip==${{ matrix.pip-version }} + python3 -m pip install -U setuptools fi + pip list + + - name: Pre-install packages needed because of setup.py deprecation + run: | + echo "No action for now" - name: Define Package Path id: set_package_path @@ -47,11 +49,11 @@ jobs: - name: Checkout Main Branch and Install Package if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/')) - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Checkout Pull Request Branch and Install Package if: github.event_name == 'pull_request' - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: ref: ${{ github.event.pull_request.head.ref }}