Skip to content

Commit ca3bdfd

Browse files
author
root
committed
ci: add GitHub Actions workflow
1 parent 6d0c54c commit ca3bdfd

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
permissions:
8+
contents: read
9+
10+
jobs:
11+
runtime-core:
12+
name: Runtime core (Python ${{ matrix.python-version }})
13+
runs-on: ubuntu-latest
14+
strategy:
15+
fail-fast: false
16+
matrix:
17+
python-version:
18+
- "3.10"
19+
- "3.12"
20+
21+
steps:
22+
- name: Check out repository
23+
uses: actions/checkout@v4
24+
25+
- name: Set up Python
26+
uses: actions/setup-python@v5
27+
with:
28+
python-version: ${{ matrix.python-version }}
29+
30+
- name: Compile runtime modules
31+
run: python -m compileall -q wo_runtime
32+
33+
- name: Run runtime selftest
34+
run: python bin/wo-runtime selftest

0 commit comments

Comments
 (0)