forked from itspngu/asdf-azure-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow default python3 to be installed (#1)
* Allow default python3 to be installed * Fixing github action to use v4 instead of 4 * Supressing linter for downloading, unsure how to fix * Adding README with intent * Github action check runs with MacOS * Added build badges
- Loading branch information
1 parent
27d8555
commit b3bc0dc
Showing
6 changed files
with
69 additions
and
32 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,40 @@ | ||
name: CI | ||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
push: | ||
branches: | ||
- master | ||
paths: | ||
- "bin/*" | ||
push: | ||
- ".github/workflows/*" | ||
pull_request: | ||
paths: | ||
- "bin/*" | ||
schedule: | ||
- cron: "0 0 * * *" | ||
- ".github/workflows/*" | ||
|
||
jobs: | ||
plugin_test: | ||
name: asdf plugin test | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, macos-latest] | ||
os: | ||
- ubuntu-latest | ||
- macos-latest | ||
runs-on: ${{ matrix.os }} | ||
env: | ||
PYTHON_TO_NOT_USE: "3.12" | ||
steps: | ||
- uses: asdf-vm/actions/plugin-test@v1 | ||
- 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: | ||
|
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
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
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
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