using pipx before setup-python with pr #10
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: test | |
on: | |
push: | |
branches: | |
- test-967 | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
# os: [macos-12, ubuntu-20.04, ubuntu-24.04, ubuntu-latest, windows-latest, macos-latest, macos-13] | |
os: [ubuntu-20.04, ubuntu-24.04, ubuntu-latest] | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v4 | |
# - name: Use pipx to install a package | |
# run: | | |
# pipx install black | |
- name: Install poetry | |
run: pipx install poetry | |
- name: Setup Python 3.11 | |
id: python311 | |
# uses: actions/setup-python/@v5 | |
uses: priya-kinthali/setup-python@test-967 | |
with: | |
python-version: "3.11" | |
- name: Get Python version | |
run: python --version | |
- name: Get pipx version | |
run: pipx --version | |
- run: poetry install | |
# - name: Run black | |
# run: black . | |
- name: Install Python Package | |
run: pipx install . | |
# - name: Setup Python 3.12 | |
# id: python312 | |
# uses: actions/setup-python/@v5 | |
# # uses: priya-kinthali/setup-python@test-967 | |
# with: | |
# python-version: "3.12" | |
# - name: Get Python version | |
# run: python --version | |
# - name: Get pipx version | |
# run: pipx --version | |
# # - name: Check Python Path | |
# # run: echo ${{ steps.python310.outputs.python-path }} | |
# - name: Install Python Package | |
# run: pipx install . |