Skip to content

Commit 9a95f61

Browse files
committed
remove requrieement.txt and add python 3.13 and install right into the example test
1 parent c5f892c commit 9a95f61

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.github/workflows/validate.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
strategy:
2020
matrix:
2121
os: [ubuntu-latest, windows-latest, macos-latest]
22-
python-version: ["3.9", "3.10", "3.11", "3.12"]
22+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
2323
runs-on: ${{ matrix.os }}
2424
steps:
2525
- uses: actions/checkout@v3
@@ -36,12 +36,12 @@ jobs:
3636
pip install pydantic &&
3737
python -m pytest src/onepassword/test_client.py
3838
- name: Example Test
39-
if: matrix.os == 'ubuntu-latest'
39+
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.9'
4040
env:
4141
OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.EXAMPLE_TESTS_OP_SERVICE_ACCOUNT_TOKEN }}
4242
OP_VAULT_ID: ${{ secrets.EXAMPLE_TESTS_OP_VAULT_ID }}
4343
run: |
44-
pip install -r requirements.txt &&
44+
pip install cryptography &&
4545
pip install . &&
4646
python example/example.py
4747
lint:
@@ -92,7 +92,7 @@ jobs:
9292
uses: actions/setup-python@v4
9393
with:
9494
python-version: '3.x'
95-
95+
9696
- name: Integration Test
9797
env:
9898
OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.TEST_SERVICE_ACCOUNT_TOKEN }}
@@ -119,7 +119,7 @@ jobs:
119119
job: ${{ github.job }}
120120
ref: ${{ github.event.client_payload.pull_request.head.sha }}
121121
# Conveniently, job.status maps to https://developer.github.com/v3/checks/runs/#update-a-check-run
122-
conclusion: ${{ job.status }}
122+
conclusion: ${{ job.status }}
123123
with:
124124
github-token: ${{ secrets.GITHUB_TOKEN }}
125125
script: |

requirements.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)