with multiple versions #5
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: Setup Python 3.11 | |
id: python38 | |
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 | |
# - name: Check Python Path | |
# run: echo ${{ steps.python38.outputs.python-path }} | |
- name: Install Python Package | |
run: pipx install . | |
- name: Setup Python 3.12 | |
id: python310 | |
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 . |