Skip to content

Commit 70b6205

Browse files
Add tests in Github Actions CI
Signed-off-by: Ayan Sinha Mahapatra <[email protected]>
1 parent 704f1ba commit 70b6205

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

.github/workflows/tests.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Run tests on supported Python versions
2+
3+
on: [push, pull_request, workflow_dispatch]
4+
5+
jobs:
6+
extensive_tests:
7+
name: Run tests on Python ${{ matrix.python }}
8+
runs-on: ${{ matrix.os }}
9+
defaults:
10+
run:
11+
shell: bash
12+
strategy:
13+
fail-fast: false
14+
matrix:
15+
python: ["3.9", "3.10", "3.11", "3.12", "3.13"]
16+
os: ["ubuntu-latest"]
17+
18+
steps:
19+
- uses: actions/checkout@v4
20+
21+
- name: Set up Python
22+
uses: actions/setup-python@v5
23+
with:
24+
python-version: "${{ matrix.python }}"
25+
26+
- name: Run tests
27+
run: make clean && make dev && make test

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
lief==0.15.1
44
symbolic==10.2.1
55
click==8.2.1;python_version>='3.10'
6-
click==8.1.8;python_version<'3.10'
6+
click==8.1.7;python_version<'3.10'
77
commoncode==32.3.0

0 commit comments

Comments
 (0)