Use export for env variables
This commit is contained in:
parent
b95e75aa0b
commit
30d66003ef
|
@ -15,10 +15,9 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get install inotify-tools acl
|
sudo apt-get install inotify-tools acl
|
||||||
- name: Execute tests and generate coverage report
|
- name: Execute tests and generate coverage report
|
||||||
env:
|
|
||||||
RUNNING_ON_GITHUB_ACTIONS: true
|
|
||||||
SSH_PORT: 22
|
|
||||||
run: |
|
run: |
|
||||||
|
export RUNNING_ON_GITHUB_ACTIONS=true
|
||||||
|
export SSH_PORT=22
|
||||||
sudo bash ./dev/tests/run_tests.sh
|
sudo bash ./dev/tests/run_tests.sh
|
||||||
- name: Upload Coverage to Codecov
|
- name: Upload Coverage to Codecov
|
||||||
uses: codecov/codecov-action@v1
|
uses: codecov/codecov-action@v1
|
||||||
|
|
|
@ -20,10 +20,9 @@ jobs:
|
||||||
brew install fswatch
|
brew install fswatch
|
||||||
echo "/usr/local/bin" >> $GITHUB_PATH
|
echo "/usr/local/bin" >> $GITHUB_PATH
|
||||||
- name: Execute tests and generate coverage report
|
- name: Execute tests and generate coverage report
|
||||||
env:
|
|
||||||
RUNNING_ON_GITHUB_ACTIONS: true
|
|
||||||
SSH_PORT: 22
|
|
||||||
run: |
|
run: |
|
||||||
|
export RUNNING_ON_GITHUB_ACTIONS=true
|
||||||
|
export SSH_PORT=22
|
||||||
sudo bash ./dev/tests/run_tests.sh
|
sudo bash ./dev/tests/run_tests.sh
|
||||||
- name: Upload Coverage to Codecov
|
- name: Upload Coverage to Codecov
|
||||||
uses: codecov/codecov-action@v1
|
uses: codecov/codecov-action@v1
|
||||||
|
|
|
@ -19,11 +19,10 @@ jobs:
|
||||||
openssh-server
|
openssh-server
|
||||||
- name: Execute tests and generate coverage report
|
- name: Execute tests and generate coverage report
|
||||||
shell: wsl-bash {0}
|
shell: wsl-bash {0}
|
||||||
env:
|
|
||||||
RUNNING_ON_GITHUB_ACTIONS: true
|
|
||||||
SSH_PORT: 22
|
|
||||||
run: |
|
run: |
|
||||||
find . -type f ! -name ".git*" -print0 | xargs -0 -n 1 -P 4 dos2unix
|
RUNNING_ON_GITHUB_ACTIONS=true
|
||||||
|
SSH_PORT=22
|
||||||
|
find . -type f -not -path ".git/*" -print0 | xargs -0 -n 1 -P 4 dos2unix
|
||||||
service ssh start
|
service ssh start
|
||||||
./dev/tests/run_tests.sh
|
./dev/tests/run_tests.sh
|
||||||
- name: Upload Coverage to Codecov
|
- name: Upload Coverage to Codecov
|
||||||
|
|
Loading…
Reference in New Issue