Skip to content

Commit c604ce5

Browse files
committed
add github workflows
1 parent 08502af commit c604ce5

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/run-tests.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Run tests
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
unittest:
7+
name: UnitTest
8+
runs-on: ${{ matrix.operating-system }}
9+
strategy:
10+
fail-fast: false
11+
matrix:
12+
operating-system: [ubuntu-latest, windows-latest, macos-latest]
13+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
14+
steps:
15+
- uses: actions/checkout@v5
16+
- name: Set up Python ${{ matrix.python-version }}
17+
uses: actions/setup-python@v6
18+
with:
19+
python-version: ${{ matrix.python-version }}
20+
21+
- name: Install dependencies
22+
run: |
23+
pip install requests pycryptodome crcmod-plus aiohttp
24+
25+
- name: Run tests
26+
run: |
27+
python -m unittest discover -t . -v tests/unit

0 commit comments

Comments
 (0)