Skip to content

Commit b8f5904

Browse files
committed
Add AlgoKit automated tests and benchmark smoke check
1 parent 5d4f2f7 commit b8f5904

1 file changed

Lines changed: 36 additions & 0 deletions

File tree

‎.github/workflows/algokit-ci.yml‎

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: AlgoKit CI
2+
3+
on:
4+
push:
5+
paths:
6+
- "python_practice/2026-10-16/algokit/**"
7+
- ".github/workflows/algokit-ci.yml"
8+
pull_request:
9+
paths:
10+
- "python_practice/2026-10-16/algokit/**"
11+
- ".github/workflows/algokit-ci.yml"
12+
workflow_dispatch:
13+
14+
permissions:
15+
contents: read
16+
17+
jobs:
18+
test:
19+
runs-on: ubuntu-latest
20+
strategy:
21+
fail-fast: false
22+
matrix:
23+
python-version: ["3.11", "3.13"]
24+
steps:
25+
- name: Check out repository
26+
uses: actions/checkout@v4
27+
- name: Set up Python
28+
uses: actions/setup-python@v5
29+
with:
30+
python-version: ${{ matrix.python-version }}
31+
- name: Run unit and randomized regression tests
32+
working-directory: python_practice/2026-10-16/algokit
33+
run: python -m unittest discover -v
34+
- name: Smoke-test benchmark
35+
working-directory: python_practice/2026-10-16/algokit
36+
run: python benchmark_search.py --sizes 1000 5000 --repeats 3

0 commit comments

Comments
 (0)