File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Run PICA JOSS Tests
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+ # 1. Download your code to the test server
15+ - name : Checkout repository
16+ uses : actions/checkout@v3
17+
18+ # 2. Install Python 3.10 (Stable version for scientific libraries)
19+ - name : Set up Python 3.10
20+ uses : actions/setup-python@v4
21+ with :
22+ python-version : " 3.10"
23+
24+ # 3. Install your project
25+ - name : Install Dependencies
26+ run : |
27+ 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.
31+ pip install -e .
32+
33+ # Install test utilities
34+ pip install pytest
35+
36+ # 4. Run the "Smart" Test Script
37+ - name : Run Dynamic GUI Tests
38+ run : |
39+ # This runs the auto-discovery script that finds and tests all your GUIs
40+ python -m unittest tests/test_auto_discovery.py
You can’t perform that action at this time.
0 commit comments