Tests: Another MacOS WIP test set

This commit is contained in:
deajan 2025-09-02 08:42:54 +02:00
parent 95da8ba7ce
commit 818a4978c0
2 changed files with 3 additions and 0 deletions

View file

@ -30,6 +30,7 @@ jobs:
- name: Generate Report
env:
RUNNING_ON_GITHUB_ACTIONS: true
TEST_VAR: test
run: |
pip install pytest coverage
sudo python -m coverage run -m pytest -vvs tests

View file

@ -92,6 +92,8 @@ def running_on_github_actions():
env:
RUNNING_ON_GITHUB_ACTIONS: true
"""
print(os.environ)
print(os.environ.get("RUNNING_ON_GITHUB_ACTIONS"))
print(os.environ.get("RUNNING_ON_GITHUB_ACTIONS", "False").lower())
return os.environ.get("RUNNING_ON_GITHUB_ACTIONS", "False").lower() == "true"