Skip to content

Bumping deps to node20 compatible versions #74

Bumping deps to node20 compatible versions

Bumping deps to node20 compatible versions #74

Workflow file for this run

name: Self Test
on:
pull_request:
push:
branches: [main, test-me-*]
jobs:
self-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# Run local action
- name: Test action-setup-venv
id: venv
uses: ./
with:
python-version: 3.8.13
install-cmd: pip install -r test/testdata/requirements.txt
# Print debug vars
- name: Print variables for debugging
run: |
echo "VIRTUAL_ENV: ${VIRTUAL_ENV}"
echo "PATH: ${PATH}"
echo "Cache Hit: ${{ steps.venv.outputs.cache-hit }}"
ls -la ${VIRTUAL_ENV}/lib/*/site-packages/
# Test the venv and install worked
- name: Ensure environment works
run: python3 ./test/testdata/demo.py
no-install-self-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# Run local action
- name: Test action-setup-venv
id: venv
uses: ./
with:
python-version: 3.8.13
# Test the venv and external install work
- name: Pip install
if: steps.venv.outputs.cache-hit != 'true'
run: pip install -r test/testdata/requirements.txt
- name: Ensure environment works
run: python3 ./test/testdata/demo.py