Skip to content

Commit

Permalink
Fix CICD
Browse files Browse the repository at this point in the history
  • Loading branch information
alexpalms committed Jul 29, 2023
1 parent a8885b3 commit 3671115
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/installation_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,13 @@ jobs:

steps:
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Pre-install packages needed because of setup.py deprecation
run: |
pip list
python3 -m pip install wheel==0.38.4
if [ "${{ matrix.pip-version }}" == '' ]; then
python3 -m pip install -U pip
Expand All @@ -39,9 +40,9 @@ jobs:
id: set_package_path
run: |
if [ "${{ github.event_name }}" == "schedule" ]; then
echo "::set-output name=package_path::diambra-arena"
echo "package_path=diambra-arena" >> "$GITHUB_ENV"
else
echo "::set-output name=package_path::."
echo "package_path=." >> "$GITHUB_ENV"
fi
- name: Checkout Main Branch and Install Package
Expand All @@ -59,7 +60,7 @@ jobs:
( matrix.installation-option != 'stable-baselines' && matrix.python-version != '3.7' ) )
run: |
if [ "${{ matrix.installation-option }}" == "basic" ]; then
pip install ${{ steps.set_package_path.outputs.package_path }}
pip install ${{ env.package_path }}
else
pip install ${{ steps.set_package_path.outputs.package_path }}[${{ matrix.installation-option }}]
pip install ${{ env.package_path }}[${{ matrix.installation-option }}]
fi

0 comments on commit 3671115

Please sign in to comment.