Skip to content

Commit 083e13e

Browse files
committed
Add CI workflow
1 parent 135cfd4 commit 083e13e

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main, master]
6+
pull_request:
7+
branches: [main, master]
8+
schedule:
9+
- cron: '17 6 * * 0' # weekly sanity check
10+
11+
jobs:
12+
test:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
- uses: actions/setup-python@v5
17+
with:
18+
python-version: '3.12'
19+
- name: Compile-check the script
20+
run: |
21+
python -m py_compile iptv_codec_analyzer.py
22+
- name: Run --help (smoke)
23+
run: |
24+
python iptv_codec_analyzer.py --help || true

0 commit comments

Comments
 (0)