Skip to content

Crazy Stab Lab Mac Lib experiment 🗡️ #2

Crazy Stab Lab Mac Lib experiment 🗡️

Crazy Stab Lab Mac Lib experiment 🗡️ #2

name: Crazy Stab Lab Mac Lib experiment 🗡️
# Controls when the action will run.
on:
workflow_dispatch:
jobs:
lib_tests_on_mac:
runs-on: [self-hosted, macOS]
timeout-minutes: 120
steps:
- name: Setup python virtualenv
run: |
export PYENV_ROOT="$HOME/.pyenv"
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
- name: Setup 3.12.0 environment
run: |
PYTHON_VERSION="3.12.0" # Specify the Python version you need
if ! pyenv versions | grep -q "$PYTHON_VERSION"; then
pyenv install $PYTHON_VERSION
fi
- name: Setup 3.9.0 environment
run: |
PYTHON_VERSION="3.9.0" # Specify the Python version you need
if ! pyenv versions | grep -q "$PYTHON_VERSION"; then
pyenv install $PYTHON_VERSION
fi
- name: Setup client
run: |
pyenv virtualenv 3.12.0 test
pyenv activate test
pyenv deactivate test
pyenv virtualenv-delete test -f