Skip to content

Commit 10f9b06

Browse files
committed
[fix] all os's config merge one file
1 parent ac0e6c9 commit 10f9b06

File tree

2 files changed

+14
-33
lines changed

2 files changed

+14
-33
lines changed

.github/workflows/tox.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
strategy:
1414
matrix:
15+
os: [windows-latest, ubuntu-latest, macos-latest]
1516
python-version: [2.7, 3.9]
1617

1718
steps:
@@ -27,7 +28,19 @@ jobs:
2728
run: |
2829
pip install tox
2930
30-
- name: Run Test
31+
- name: Run Windows Test
32+
if: runner.os == 'Windows'
33+
run: |
34+
python -m tox -c python/tox_windows.ini
35+
36+
- name: Run Linux Test
37+
if: runner.os != 'Linux'
38+
run: |
39+
cd $GITHUB_WORKSPACE/python
40+
tox -e py
41+
42+
- name: Run MacOS Test
43+
if: runner.os != 'macOS'
3144
run: |
3245
cd $GITHUB_WORKSPACE/python
3346
tox -e py

.github/workflows/tox_windows.yml

Lines changed: 0 additions & 32 deletions
This file was deleted.

0 commit comments

Comments
 (0)