Skip to content

Commit 0e7d8e1

Browse files
committed
github actions test
1 parent 593c296 commit 0e7d8e1

File tree

2 files changed

+8
-22
lines changed

2 files changed

+8
-22
lines changed

.github/workflows/tests.yaml

Lines changed: 7 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -13,28 +13,20 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
python-version: ["3.10","3.13"]
16+
python-version: ["3.13"]
1717

1818
steps:
19-
20-
2119
- uses: actions/checkout@v2
2220

23-
- uses: actions/setup-python@v4
21+
- uses: actions/setup-python@v2.3.1
2422
with:
2523
python-version: ${{ matrix.python-version }}
2624

27-
- name: Upgrade pip & Install Dependencies
28-
run: |
29-
python -m pip install --upgrade pip setuptools wheel
30-
pip install --upgrade cffi cryptography
31-
pip install --upgrade -r requirements.txt
32-
pip install -e .[dev]
25+
- run: pip install -U setuptools
3326

34-
- name: Workaround for cffi ImportError
35-
run: |
36-
export LD_PRELOAD=$(python -c "import sysconfig; print(sysconfig.get_config_var('LIBDIR'))")/libpython3.13.so
37-
pytest -v
27+
- run: pip install -r requirements.txt
28+
29+
- run: pip install -e .[dev]
3830

3931
- run: pytest -v
4032

@@ -50,13 +42,7 @@ jobs:
5042

5143
- uses: actions/[email protected]
5244
with:
53-
python-version: 3.13
54-
55-
- name: Upgrade pip and install dependencies
56-
run: |
57-
pip install --upgrade pip setuptools wheel
58-
pip install --upgrade cffi cryptography
59-
pip install --upgrade -r requirements.txt
45+
python-version: 3.9
6046

6147
- run: pip install --upgrade setuptools
6248

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ asn1==2.2.0
88
# via -r requirements.in
99
certifi==2018.11.29
1010
# via requests
11-
cffi==1.15.0
11+
cffi==1.17.0
1212
# via
1313
# -r requirements.in
1414
# cryptography

0 commit comments

Comments
 (0)