mirror of
https://github.com/netinvent/npbackup.git
synced 2025-09-09 06:25:59 +08:00
tests: Keep env vars in sudo command for macos
This commit is contained in:
parent
818a4978c0
commit
3d6d883bdf
1 changed files with 3 additions and 4 deletions
7
.github/workflows/macos.yaml
vendored
7
.github/workflows/macos.yaml
vendored
|
@ -30,9 +30,8 @@ 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
|
||||
run: |
|
||||
pip install pytest coverage
|
||||
sudo -E python -m coverage run -m pytest -vvs tests
|
||||
- name: Upload Coverage to Codecov
|
||||
uses: codecov/codecov-action@v3
|
||||
|
|
Loading…
Add table
Reference in a new issue