mirror of
https://github.com/netinvent/npbackup.git
synced 2025-09-03 19:46:45 +08:00
Tests: Another MacOS WIP test set
This commit is contained in:
parent
95da8ba7ce
commit
818a4978c0
2 changed files with 3 additions and 0 deletions
1
.github/workflows/macos.yaml
vendored
1
.github/workflows/macos.yaml
vendored
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue