From 78403395c1548e7b07c2209fb51eaa4ab23fbe24 Mon Sep 17 00:00:00 2001 From: rattatwinko Date: Wed, 28 May 2025 14:57:52 +0200 Subject: [PATCH] testing this shit --- .gitea/workflows/run-mucapy.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .gitea/workflows/run-mucapy.yml diff --git a/.gitea/workflows/run-mucapy.yml b/.gitea/workflows/run-mucapy.yml new file mode 100644 index 0000000..c393781 --- /dev/null +++ b/.gitea/workflows/run-mucapy.yml @@ -0,0 +1,33 @@ +name: Run MuCaPy + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + build-and-run: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v3 + + - name: Set up Python 3.10 + uses: actions/setup-python@v4 + with: + python-version: '3.10' + + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt + + - name: Install Xvfb and libgl (for PyQt5 and OpenCV GUI) + run: | + sudo apt-get update + sudo apt-get install -y xvfb libgl1-mesa-glx + + - name: Run MuCaPy main.py with Xvfb + run: | + xvfb-run --auto-servernum --server-args='-screen 0 1920x1080x24' python mucapy/main.py \ No newline at end of file