Skip to content

Commit e181f9e

Browse files
authored
Merge pull request #38 from 1Password/andi/adjust-actions
Run integration tests on all target OS-es
2 parents 221105f + 0b63f75 commit e181f9e

File tree

1 file changed

+17
-6
lines changed

1 file changed

+17
-6
lines changed

.github/workflows/validate.yml

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ on:
55
push:
66
paths-ignore:
77
- '**.md'
8-
pull_request:
9-
paths-ignore:
10-
- '**.md'
118

129
jobs:
1310

1411
validate:
15-
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
os: [ubuntu-latest, windows-latest, macos-latest]
15+
runs-on: ${{ matrix.os }}
1616
steps:
1717
- uses: actions/checkout@v3
1818

@@ -21,14 +21,25 @@ jobs:
2121
with:
2222
python-version: '3.x'
2323

24-
- name: Test with pytest
24+
- name: Integration Test
2525
env:
2626
OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.TEST_SERVICE_ACCOUNT_TOKEN }}
2727
run: |
2828
pip install pytest &&
2929
pip install pytest-asyncio &&
3030
pip install pydantic &&
31-
python -m pytest src/onepassword/*.py
31+
python -m pytest src/onepassword/test_client.py
32+
33+
lint:
34+
name: Lint
35+
runs-on: ubuntu-latest
36+
steps:
37+
- uses: actions/checkout@v3
38+
39+
- name: Set up Python
40+
uses: actions/setup-python@v4
41+
with:
42+
python-version: '3.x'
3243

3344
- name: Lint with Ruff
3445
run: |

0 commit comments

Comments
 (0)