From 30379bd8e3365e4e13d882761c861e9e4ed2c7c2 Mon Sep 17 00:00:00 2001 From: Lerking Date: Wed, 7 May 2025 07:10:10 +0200 Subject: [PATCH] Add .gitea/workflows/test.yml --- .gitea/workflows/test.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .gitea/workflows/test.yml diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml new file mode 100644 index 0000000..051435c --- /dev/null +++ b/.gitea/workflows/test.yml @@ -0,0 +1,29 @@ +name: Run Controller Tests + +on: + push: + branches-ignore: [ main ] + pull-request: + branches: [ main ] + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - name: Checkout Code + uses: actions/setup-python@v3 + + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: '3.10' + + - name: Install Dependencies + run: + python -m pip install --upgrade pip + pip install pygame + + - name: Run Unit Tests + run: + python -m unittest discover tests \ No newline at end of file