Skip to content

Commit

Permalink
Fix macos test (naive) (#1626)
Browse files Browse the repository at this point in the history
* Fix `macos` test (naive)

According to https://github.com/actions/runner-images/blob/main/images/macos/macos-11-Readme.md#language-and-runtime the version of python on the macos-11 runner is python3.10. Actions allows for setup of python in a different way as indicated here: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python

* Remove other option
  • Loading branch information
Gamenot authored Sep 15, 2022
1 parent 98a2798 commit 4eb40c7
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/ci-auto-commit-mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,14 @@ jobs:
uses: actions/checkout@v2
with:
ref: develop
- name: Setup Python
run: |
brew update
brew install [email protected]
brew unlink [email protected]
brew link --force --overwrite [email protected]
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.8"
- name: Update requirements
run: |
cd $GITHUB_WORKSPACE
python3.7 -m venv ${{env.venv_dir}}
python3.8 -m venv ${{env.venv_dir}}
. ${{env.venv_dir}}/bin/activate
pip install --upgrade pip wheel
pip install .[camera-obs,rllib,test,torch,train]
Expand All @@ -37,4 +35,4 @@ jobs:
add: 'utils/setup/mac_requirements.txt'
branch: develop
default_author: user_info
message: 'GitHub Actions: Update mac_requirements.txt'
message: 'GitHub Actions: Update mac_requirements.txt'

0 comments on commit 4eb40c7

Please sign in to comment.