Skip to content

Commit

Permalink
Add experiment file for running on mac
Browse files Browse the repository at this point in the history
  • Loading branch information
ToveRumar committed Jul 9, 2024
1 parent ad70f45 commit 58d7749
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/crazylab-mac-lib-experiment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
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 -)"
PYTHON_VERSION="3.12.0" # Specify the Python version you need
if ! pyenv versions | grep -q "$PYTHON_VERSION"; then
pyenv install $PYTHON_VERSION
fi
pyenv virtualenv 3.12.0 test
pyenv activate test
pyenv deactivate test
pyenv virtualenv-delete test -f

0 comments on commit 58d7749

Please sign in to comment.