From 004e185ce7af28f2350ea3f42878b60b8470a566 Mon Sep 17 00:00:00 2001 From: arnikz Date: Wed, 4 Sep 2024 09:13:24 +0200 Subject: [PATCH] Add CI with GH Actions. --- .github/workflows/ci.yaml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/ci.yaml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..afb14b7 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,35 @@ +name: CI +on: + push: + pull_request: + schedule: + - cron: "0 0 1 * *" # run monthly +jobs: + build: + runs-on: ubuntu-20.04 + container: + image: python:2.7.18-buster + env: + APP_NAME: PIQMIe + APP_CONFIG: config.ini + APP_BASE_URL: http://127.0.0.1:8080 + APP_DATA: a000000000000000000000000000000000000001 + steps: + - name: Checkout repo + uses: actions/checkout@v3 + - name: Check python + run: | + python --version + - name: Install apt packages + run: | + apt update && apt install -y sqlite jq + - name: Check pkg versions + run: | + sqlite3 --version + jq --version + curl --version + - name: Info + run: | + pwd + ls +