Skip to content

Commit

Permalink
add workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Wrede committed Mar 4, 2025
1 parent f2a72c8 commit d9375e4
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/integration-test-studio.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Integration Test Studio

on:
schedule:
- cron: '0 0 * * *' # This cron expression runs the workflow every day at midnight UTC
workflow_dispatch: # Allows manual triggering of the workflow

jobs:
integration-test:
runs-on: self-hosted

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.12'

- name: Create and activate virtual environment
run: |
python -m venv venv
source venv/bin/activate
- name: Install dependencies
run: |
source venv/bin/activate
python -m pip install --upgrade pip
pip install .
pip install -r .ci/tests/studio/requirements.txt
- name: Run integration tests
env:
STUDIO_PASSWORD: ${{ secrets.STUDIO_PASSWORD }}
run: |
source venv/bin/activate
chmod +x .ci/tests/studio/studio.sh
.ci/tests/studio/studio.sh

0 comments on commit d9375e4

Please sign in to comment.