From ea4d63944aedd42e6f298c12b592a09c7639b4e3 Mon Sep 17 00:00:00 2001 From: Melvin Klein Date: Thu, 24 Oct 2024 13:39:42 +0200 Subject: [PATCH] add ci pipeline --- .github/workflows/ci.yaml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 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 000000000..57e3260f6 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,33 @@ +name: CI Workflow + +on: [pull_request, workflow_dispatch] + +jobs: + main: + name: CI + strategy: + matrix: + os: [ubuntu-latest, macos-latest] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] + runs-on: ${{ matrix.os }} + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Install Python ${{ matrix.python-version }} + uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.python-version }} + - uses: actions/checkout@v3 + with: + repository: "stackitcloud/stackit-sdk-python-core" + ref: "main" + path: 'python-core' + - name: Install Python SDK Core + working-directory: 'python-core' + run: make install + - name: Install + run: make install-dev + - name: Lint + run: make lint + - name: Test + run: make test