Skip to content

Commit a7d55b5

Browse files
Update joss_tests.yml
added backend sim test
1 parent 40c90fc commit a7d55b5

1 file changed

Lines changed: 16 additions & 11 deletions

File tree

.github/workflows/joss_tests.yml

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,30 +11,35 @@ jobs:
1111
runs-on: ubuntu-latest
1212

1313
steps:
14-
# 1. Download your code to the test server
14+
# 1. Checkout the code
1515
- name: Checkout repository
1616
uses: actions/checkout@v3
1717

18-
# 2. Install Python 3.10 (Stable version for scientific libraries)
18+
# 2. Install Python 3.10 (Standard for scientific packages)
1919
- name: Set up Python 3.10
2020
uses: actions/setup-python@v4
2121
with:
2222
python-version: "3.10"
2323

24-
# 3. Install your project
24+
# 3. Install your project and dependencies
2525
- name: Install Dependencies
2626
run: |
2727
python -m pip install --upgrade pip
28-
# This command reads your pyproject.toml and installs PICA
29-
# The '-e' flag is critical: it installs in 'editable' mode
30-
# so the tests can find your 'Keithley_2400' folders.
28+
# Install the package in editable mode so tests can find folders like 'Keithley_2400'
3129
pip install -e .
32-
33-
# Install test utilities
30+
# Install testing tools
3431
pip install pytest
3532
36-
# 4. Run the "Smart" Test Script
37-
- name: Run Dynamic GUI Tests
33+
# 4. Run the Test Suite
34+
- name: Run All Tests
3835
run: |
39-
# This runs the auto-discovery script that finds and tests all your GUIs
36+
echo "--------------------------------------"
37+
echo "RUNNING TEST 1: Auto-Discovery (Smoke Test)"
38+
echo "--------------------------------------"
4039
python -m unittest tests/test_auto_discovery.py
40+
41+
echo ""
42+
echo "--------------------------------------"
43+
echo "RUNNING TEST 2: Deep Simulation (Behavior Test)"
44+
echo "--------------------------------------"
45+
python -m unittest tests/test_deep_simulation.py

0 commit comments

Comments
 (0)