Skip to content

Commit

Permalink
fix: update script to also remove python 12 during integration test i…
Browse files Browse the repository at this point in the history
…nstall (#383)

closes #380 

Add removal of existing python 12 installation to macos homebrew
integration test to avoid brew link issues.
  • Loading branch information
kevin-orlando authored Jan 19, 2024
1 parent b901287 commit e65752a
Showing 1 changed file with 17 additions and 11 deletions.
28 changes: 17 additions & 11 deletions .github/workflows/integration_testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,18 +40,24 @@ jobs:
- name: Test with Homebrew
run: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

- name: Prep for python 3.11.3 install # Removes python 3.11.3 to avoid conflict with homebrew python
- name: Remove existing Python installs # Removes python 3.11.3 and 3.12 to avoid conflict with homebrew python
run: |
rm -rf '/usr/local/bin/2to3'
rm -rf '/usr/local/bin/2to3-3.11'
rm -rf '/usr/local/bin/idle3'
rm -rf '/usr/local/bin/idle3.11'
rm -rf '/usr/local/bin/pydoc3'
rm -rf '/usr/local/bin/pydoc3.11'
rm -rf '/usr/local/bin/python3'
rm -rf '/usr/local/bin/python3-config'
rm -rf '/usr/local/bin/python3.11'
rm -rf '/usr/local/bin/python3.11-config'
rm -rf \
'/usr/local/bin/2to3' \
'/usr/local/bin/2to3-3.11' \
'/usr/local/bin/2to3-3.12' \
'/usr/local/bin/idle3' \
'/usr/local/bin/idle3.11' \
'/usr/local/bin/idle3.12' \
'/usr/local/bin/pydoc3' \
'/usr/local/bin/pydoc3.11' \
'/usr/local/bin/pydoc3.12' \
'/usr/local/bin/python3' \
'/usr/local/bin/python3.11' \
'/usr/local/bin/python3.12' \
'/usr/local/bin/python3-config' \
'/usr/local/bin/python3.11-config' \
'/usr/local/bin/python3.12-config'
- name: Set up seCureLI
run: |
Expand Down

0 comments on commit e65752a

Please sign in to comment.