Skip to content

Commit

Permalink
run on self hosted
Browse files Browse the repository at this point in the history
  • Loading branch information
ToveRumar committed Jan 10, 2025
1 parent 06124e1 commit 346448f
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/CI_experiment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,21 @@ on:

jobs:
test_run:
runs-on: ubuntu-latest
runs-on: [self-hosted, macOS]
strategy:
matrix:
python_version: ["3.11"]
fail-fast: false
env:
TEST_FILE: client-sanity-${{github.run_number}}-${{ matrix.python_version }}
timeout-minutes: 120
container:
image: python:${{ matrix.python_version }}-slim-bullseye
options: --privileged
steps:
steps:
- name: Setup python environment
run: |
$(brew --prefix)/bin/python${PYTHON_VERSION} -m venv venv
source venv/bin/activate
- name: Upgrade pip
run: |
pip3 install --upgrade pip
Expand All @@ -28,14 +31,10 @@ jobs:
run: |
pip3 install pytest
pip3 install pytest-qt
apt-get update && apt-get install -y libgl1 libglx0 libxrender1 libxext6 libxcb-xinerama0 libxcb-cursor0 libxkbcommon0 && apt-get clean
- name: Check out sources
uses: actions/checkout@v4

- name: Display current directory
run: pwd # This will print the root of the repository


- name: Install client
run: |
pip3 install -e .
Expand Down

0 comments on commit 346448f

Please sign in to comment.