Allow default python3 to be installed #31
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
paths: | |
- "bin/*" | |
- ".github/workflows/*" | |
pull_request: | |
paths: | |
- "bin/*" | |
- ".github/workflows/*" | |
jobs: | |
plugin_test: | |
name: asdf plugin test | |
strategy: | |
matrix: | |
os: | |
- ubuntu-latest | |
- macos-latest | |
runs-on: ${{ matrix.os }} | |
env: | |
PYTHON_TO_NOT_USE: "3.12" | |
steps: | |
- name: Install extras | |
if: ${{ matrix.os == 'macos-latest'}} | |
run: | | |
sudo rm -rf "/Library/Frameworks/Python.framework/Versions/${PYTHON_TO_NOT_USE}" | |
sudo rm -rf "/Applications/Python ${PYTHON_TO_NOT_USE}" | |
sudo find /usr/local/bin -lname '../../../Library/Frameworks/Python.framework/Versions/${PYTHON_TO_NOT_USE}/*' -delete | |
brew link --force [email protected] | |
hash -r | |
python3 --version | |
- uses: asdf-vm/actions/plugin-test@v3 | |
with: | |
command: az version | |
env: | |
GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} |