Skip to content

Commit 9bc0a5e

Browse files
authored
Finalize CI workflow and address styling/robustness feedback
1 parent ef3171a commit 9bc0a5e

2 files changed

Lines changed: 34 additions & 0 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ main, master ]
6+
pull_request:
7+
branches: [ main, master ]
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout repository
15+
uses: actions/checkout@v4
16+
17+
- name: Set up Python
18+
uses: actions/setup-python@v5
19+
with:
20+
python-version: '3.12'
21+
22+
- name: Install dependencies
23+
run: |
24+
python -m pip install --upgrade pip
25+
pip install pyyaml
26+
27+
- name: Compile Python files
28+
run: |
29+
python -m compileall -q .
30+
31+
- name: Run tests
32+
run: |
33+
python -m unittest discover -s tests -p 'test*.py'

‎tests/test_launcher.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ def setUp(self):
2525
'script_list': [
2626
{
2727
'display_name': 'Test Script 1',
28+
# Timeout values corresponding to Mon (100) through Sun (700), i.e., indices 0-6
2829
'weekly_timeouts': [100, 200, 300, 400, 500, 600, 700],
2930
'run_timeout_seconds': 0
3031
},

0 commit comments

Comments
 (0)