mirror of https://github.com/deajan/osync
Add github actions workflow
parent
35a71ad517
commit
a1f8773953
@ -0,0 +1,22 @@
|
|||||||
|
name: linux-tests
|
||||||
|
|
||||||
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
os: [ubuntu-latest]
|
||||||
|
steps:
|
||||||
|
- name: Install dependencies
|
||||||
|
run: |
|
||||||
|
sudo apt-get intall inotify-tools acl
|
||||||
|
- name: Execute tests and generate coverage report
|
||||||
|
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