Skip to content

Commit b0fbf4b

Browse files
committed
fx
1 parent 485a7d9 commit b0fbf4b

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

.github/workflows/test_linux.yml renamed to .github/workflows/test.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,16 @@
1-
name: Test Package
1+
name: Test Package Linux
22

33
on:
44
workflow_dispatch: # запуск вручную
5-
#push:
6-
# branches:
7-
# - master # или любая тестовая ветка
85

96
jobs:
107
test:
118
runs-on: ${{ matrix.os }}
129
strategy:
10+
fail-fast: false
1311
matrix:
14-
os: [ubuntu-latest]
15-
#python-version: ["3.8","3.9","3.10","3.11","3.12","3.13"]
16-
python-version: ["3.10"]
12+
os: [ubuntu-latest, windows-latest, macos-latest]
13+
python-version: ["3.8","3.9","3.10","3.11","3.12","3.13"]
1714

1815
steps:
1916
- uses: actions/checkout@v4
@@ -32,7 +29,11 @@ jobs:
3229
run: python -m build --wheel --outdir dist
3330

3431
- name: Install package
35-
run: pip install dist/*.whl
32+
run: |
33+
import glob, subprocess, sys
34+
whl = glob.glob("dist/*.whl")[0]
35+
subprocess.check_call([sys.executable, "-m", "pip", "install", whl])
36+
shell: python
3637

3738
- name: Run tests
3839
run: pytest tests

0 commit comments

Comments
 (0)