Skip to content

Commit 3271d1a

Browse files
committed
fuature: added check python versions
1 parent d240dad commit 3271d1a

2 files changed

Lines changed: 25 additions & 1 deletion

File tree

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
name: actions
1+
name: code quality check (dev)
22

33
on:
44
push:
55
branches: [ dev ]
6+
pull_request:
7+
branches: [ dev]
68

79
jobs:
810

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: python version compatibility check (main)
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
tests:
11+
runs-on: ubuntu-22.04
12+
strategy:
13+
matrix:
14+
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
15+
steps:
16+
- uses: actions/checkout@v4
17+
- uses: actions/setup-python@v5
18+
with:
19+
python-version: "${{ matrix.python-version }}"
20+
- run: pipx install "poetry~=2.0.0"
21+
- run: poetry install --with dev
22+
- run: poetry run pytest --verbose

0 commit comments

Comments
 (0)