Merge branch 'master' of https://github.com/deajan/osync
This commit is contained in:
commit
55c4cffcf0
|
@ -10,6 +10,7 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest]
|
os: [ubuntu-latest]
|
||||||
steps:
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get install inotify-tools acl
|
sudo apt-get install inotify-tools acl
|
||||||
|
@ -17,7 +18,6 @@ jobs:
|
||||||
env:
|
env:
|
||||||
RUNNING_ON_GITHUB_ACTIONS: true
|
RUNNING_ON_GITHUB_ACTIONS: true
|
||||||
run: |
|
run: |
|
||||||
ls -alh ./
|
bash ./dev/tests/run_tests.sh
|
||||||
sh ./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
|
||||||
|
|
|
@ -0,0 +1,28 @@
|
||||||
|
name: macosx-tests
|
||||||
|
|
||||||
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
os: [macos-latest]
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Install Bash 4
|
||||||
|
run: |
|
||||||
|
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
||||||
|
brew update
|
||||||
|
|
||||||
|
brew install bash
|
||||||
|
brew install gnu-sed
|
||||||
|
echo "/usr/local/bin" >> $GITHUB_PATH
|
||||||
|
- name: Execute tests and generate coverage report
|
||||||
|
env:
|
||||||
|
RUNNING_ON_GITHUB_ACTIONS: true
|
||||||
|
run: |
|
||||||
|
bash ./dev/tests/run_tests.sh
|
||||||
|
- name: Upload Coverage to Codecov
|
||||||
|
uses: codecov/codecov-action@v1
|
|
@ -0,0 +1,22 @@
|
||||||
|
name: windows-tests
|
||||||
|
|
||||||
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
os: [windows-latest]
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: Vampire/setup-wsl@v1
|
||||||
|
- name: Execute tests and generate coverage report
|
||||||
|
shell: wsl-bash {0}
|
||||||
|
env:
|
||||||
|
RUNNING_ON_GITHUB_ACTIONS: true
|
||||||
|
run: |
|
||||||
|
./dev/tests/run_tests.sh
|
||||||
|
- name: Upload Coverage to Codecov
|
||||||
|
uses: codecov/codecov-action@v1
|
Loading…
Reference in New Issue