Skip to content

Reproduce setup-python pip-install issue #31

Reproduce setup-python pip-install issue

Reproduce setup-python pip-install issue #31

Workflow file for this run

name: Reproduce setup-python pip-install issue
on:
workflow_dispatch:
jobs:
reproduce:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python with pip-install
uses: actions/setup-python@v6
with:
python-version: 3.12
pip-install: dotenv
- name: Verify Python and pip
run: |
python --version
pip --version
which python
which pip
- name: Show installed packages
run: |
pip list
- name: Create test script
shell: bash
run: |
cat <<'EOF' > test.py
from dotenv import find_dotenv, load_dotenv, set_key, get_key
print("dotenv import succeeded")
EOF
- name: Run test script
run: |
python test.py