From 3e01ccc53692e7f37275b5a445182f1cd0a80367 Mon Sep 17 00:00:00 2001 From: xelons79 Date: Wed, 21 Jan 2026 13:40:17 +0100 Subject: [PATCH] ci: add github actions workflow for python build Introduces a basic CI pipeline that automatically installs dependencies and verifies the build on every push and pull request. --- .github/workflows/python-app.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/python-app.yml diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml new file mode 100644 index 00000000..a61fa698 --- /dev/null +++ b/.github/workflows/python-app.yml @@ -0,0 +1,24 @@ +name: Python application + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +permissions: + contents: read + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Set up Python 3.10 + uses: actions/setup-python@v5 + with: + python-version: "3.10" + - name: Install dependencies + run: | + python -m pip install --upgrade pip + if [ -f requirements.txt ]; then pip install -r requirements.txt; fi