Skip to content

Commit fdc2493

Browse files
committed
Merge branch 'main' into feature/refactor
2 parents 386799b + e181f9e commit fdc2493

File tree

2 files changed

+19
-8
lines changed

2 files changed

+19
-8
lines changed

.github/workflows/validate.yml

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,30 +5,41 @@ 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

1919
- name: Set up Python
2020
uses: actions/setup-python@v4
2121
with:
2222
python-version: '3.x'
23-
24-
- name: Test with pytest
23+
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: |

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The 1Password Python SDK offers programmatic access to your secrets in 1Password
1818

1919
## 🔑 Authentication
2020

21-
1Password SDKs support authentication with [1Password Service Accounts](https://developer.1password.com/docs/service-accounts/get-started/). You can create service accounts if you're an owner or administrator on your team. Otherwise, ask your administrator for a service account token.
21+
1Password SDKs support authentication with [1Password Service Accounts](https://developer.1password.com/docs/service-accounts/get-started/).
2222

2323
Before you get started, [create a service account](https://developer.1password.com/docs/service-accounts/get-started/#create-a-service-account) and give it the appropriate permissions in the vaults where the items you want to use with the SDK are saved.
2424

0 commit comments

Comments
 (0)