Skip to content

Commit e65894b

Browse files
authored
add ci pipeline (#12)
1 parent e321da0 commit e65894b

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/ci.yaml

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: CI Workflow
2+
3+
on: [pull_request, workflow_dispatch]
4+
5+
jobs:
6+
main:
7+
name: CI
8+
strategy:
9+
matrix:
10+
os: [ubuntu-latest, macos-latest]
11+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
12+
runs-on: ${{ matrix.os }}
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v4
16+
- name: Install Python ${{ matrix.python-version }}
17+
uses: actions/setup-python@v5
18+
with:
19+
python-version: ${{ matrix.python-version }}
20+
- uses: actions/checkout@v3
21+
with:
22+
repository: "stackitcloud/stackit-sdk-python-core"
23+
ref: "main"
24+
path: 'python-core'
25+
- name: Install Python SDK Core
26+
working-directory: 'python-core'
27+
run: make install
28+
- name: Install
29+
run: make install-dev
30+
- name: Lint
31+
run: make lint
32+
- name: Test
33+
run: make test

0 commit comments

Comments
 (0)