Skip to content

Commit 3c34900

Browse files
committed
Add PYHELIOS_DEV_MODE environment variable to all GitHub Actions workflows to enable development mode testing.
1 parent dae0ab0 commit 3c34900

5 files changed

Lines changed: 34 additions & 0 deletions

File tree

.github/workflows/test-linux.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,21 @@ jobs:
3737
pip install -e .
3838
3939
- name: Check PyHelios installation
40+
env:
41+
PYHELIOS_DEV_MODE: 1
4042
run: |
4143
python -c "import pyhelios; print('PyHelios imported successfully')"
4244
python -c "from pyhelios.plugins import print_plugin_status; print_plugin_status()"
4345
4446
- name: Run cross-platform tests (mock mode)
47+
env:
48+
PYHELIOS_DEV_MODE: 1
4549
run: |
4650
pytest tests/ -v -m "cross_platform or unit" --tb=short
4751
4852
- name: Run all tests including integration (expect skips for native tests)
53+
env:
54+
PYHELIOS_DEV_MODE: 1
4955
run: |
5056
pytest tests/ -v --tb=short
5157

.github/workflows/test-macos.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,21 @@ jobs:
3737
pip install -e .
3838
3939
- name: Check PyHelios installation
40+
env:
41+
PYHELIOS_DEV_MODE: 1
4042
run: |
4143
python -c "import pyhelios; print('PyHelios imported successfully')"
4244
python -c "from pyhelios.plugins import print_plugin_status; print_plugin_status()"
4345
4446
- name: Run cross-platform tests (mock mode)
47+
env:
48+
PYHELIOS_DEV_MODE: 1
4549
run: |
4650
pytest tests/ -v -m "cross_platform or unit" --tb=short
4751
4852
- name: Run all tests including integration (expect skips for native tests)
53+
env:
54+
PYHELIOS_DEV_MODE: 1
4955
run: |
5056
pytest tests/ -v --tb=short
5157

.github/workflows/test-matrix.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,23 +46,33 @@ jobs:
4646
pip install -e .
4747
4848
- name: Verify PyHelios installation and platform detection
49+
env:
50+
PYHELIOS_DEV_MODE: 1
4951
run: |
5052
python -c "import pyhelios; print(f'PyHelios imported successfully on {pyhelios.__name__}')"
5153
python -c "from pyhelios.plugins import print_plugin_status; print_plugin_status()"
5254
5355
- name: Run cross-platform tests (should work on all platforms)
56+
env:
57+
PYHELIOS_DEV_MODE: 1
5458
run: |
5559
pytest tests/ -v -m "cross_platform" --tb=short
5660
5761
- name: Run unit tests (should work in mock mode)
62+
env:
63+
PYHELIOS_DEV_MODE: 1
5864
run: |
5965
pytest tests/ -v -m "unit" --tb=short
6066
6167
- name: Run DataTypes tests (critical for cross-platform compatibility)
68+
env:
69+
PYHELIOS_DEV_MODE: 1
6270
run: |
6371
pytest tests/test_datatypes.py -v --tb=short
6472
6573
- name: Run full test suite (expect skips for native tests)
74+
env:
75+
PYHELIOS_DEV_MODE: 1
6676
run: |
6777
pytest tests/ -v --tb=short
6878

.github/workflows/test-quick.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,17 +29,23 @@ jobs:
2929
pip install -e .
3030
3131
- name: Quick smoke test
32+
env:
33+
PYHELIOS_DEV_MODE: 1
3234
run: |
3335
python -c "import pyhelios; print('✓ PyHelios imports successfully')"
3436
python -c "from pyhelios.plugins import print_plugin_status; print_plugin_status()"
3537
3638
- name: Run essential tests only
39+
env:
40+
PYHELIOS_DEV_MODE: 1
3741
run: |
3842
# Run only the most critical tests for quick feedback
3943
pytest tests/test_datatypes.py -v --tb=short
4044
pytest tests/test_cross_platform.py -v -m "cross_platform" --tb=short
4145
4246
- name: Test basic functionality
47+
env:
48+
PYHELIOS_DEV_MODE: 1
4349
run: |
4450
python -c "
4551
# Test basic PyHelios functionality in mock mode

.github/workflows/test-required.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,22 @@ jobs:
3535
pip install -e .
3636
3737
- name: Verify PyHelios installation
38+
env:
39+
PYHELIOS_DEV_MODE: 1
3840
run: |
3941
python -c "import pyhelios; print(f'✓ PyHelios imported successfully')"
4042
python -c "from pyhelios.plugins import print_plugin_status; print_plugin_status()"
4143
4244
- name: Run essential cross-platform tests
45+
env:
46+
PYHELIOS_DEV_MODE: 1
4347
run: |
4448
pytest tests/test_datatypes.py -v --tb=short
4549
pytest tests/test_cross_platform.py -v -m "cross_platform" --tb=short
4650
4751
- name: Test core functionality in mock mode
52+
env:
53+
PYHELIOS_DEV_MODE: 1
4854
run: |
4955
python -c "
5056
from pyhelios import Context, DataTypes

0 commit comments

Comments
 (0)