Skip to content

Commit ce44f84

Browse files
committed
Run tests in github ci #1
Signed-off-by: Jono Yang <jyang@nexb.com>
1 parent 9699645 commit ce44f84

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: run tests
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-24.04
8+
permissions:
9+
contents: read
10+
11+
strategy:
12+
max-parallel: 4
13+
matrix:
14+
python-version: ["3.12", "3.13", "3.14"]
15+
16+
steps:
17+
- name: Checkout code
18+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
19+
20+
- name: Set up Python ${{ matrix.python-version }}
21+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
22+
with:
23+
python-version: ${{ matrix.python-version }}
24+
25+
- name: Install dependencies
26+
run: make dev
27+
28+
- name: Validate code format
29+
run: make check
30+
31+
- name: Run tests
32+
run: make test

0 commit comments

Comments
 (0)