Skip to content

Commit 1e5423d

Browse files
committed
chore: upgrade to Python SDK v2
1 parent 86136a9 commit 1e5423d

2 files changed

Lines changed: 35 additions & 8 deletions

File tree

‎.github/workflows/checks.yml‎

Lines changed: 34 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,48 @@ name: Checks
22

33
on:
44
push:
5-
branches: ["**"]
5+
branches:
6+
- main
7+
pull_request:
8+
9+
permissions:
10+
contents: read
11+
12+
concurrency:
13+
group: checks-${{ github.workflow }}-${{ github.ref }}
14+
cancel-in-progress: true
615

716
jobs:
817
checks:
18+
name: Python ${{ matrix.python-version }}
919
runs-on: ubuntu-latest
20+
timeout-minutes: 10
21+
22+
strategy:
23+
fail-fast: false
24+
matrix:
25+
python-version:
26+
- "3.10"
27+
- "3.14"
1028

1129
steps:
12-
- uses: actions/checkout@v4
30+
- name: Check out repository
31+
uses: actions/checkout@v7
1332

14-
- uses: actions/setup-python@v5
33+
- name: Set up Python ${{ matrix.python-version }}
34+
uses: actions/setup-python@v7
1535
with:
16-
python-version: "3.13"
36+
python-version: ${{ matrix.python-version }}
37+
cache: pip
38+
cache-dependency-path: requirements.txt
1739

1840
- name: Install dependencies
19-
run: make install
41+
run: |
42+
python -m pip install --upgrade pip
43+
python -m pip install -r requirements.txt
44+
45+
- name: Check syntax
46+
run: python -m compileall -q main.py
2047

21-
- name: Run app
22-
run: make build
48+
- name: Run application
49+
run: python main.py

‎requirements.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
featurevisor==1.0.0
1+
featurevisor==2.0.0

0 commit comments

Comments
 (0)