f8068cde52
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
27 lines
682 B
YAML
27 lines
682 B
YAML
on: [push, pull_request]
|
|
name: Test
|
|
jobs:
|
|
test:
|
|
strategy:
|
|
matrix:
|
|
go-version: [1.15.x]
|
|
platform: [ubuntu-latest]
|
|
# platform: [ubuntu-latest, macos-latest, windows-latest]
|
|
runs-on: ${{ matrix.platform }}
|
|
steps:
|
|
- name: Install fuse
|
|
run: sudo apt-get install libfuse-dev gcc
|
|
- name: Install Go
|
|
uses: actions/setup-go@v2
|
|
with:
|
|
go-version: ${{ matrix.go-version }}
|
|
- name: Checkout code
|
|
uses: actions/checkout@v2
|
|
- name: Test
|
|
run: make test
|
|
- name: Code Coverage
|
|
uses: codecov/codecov-action@v1
|
|
with:
|
|
fail_ci_if_error: true
|
|
- name: Build
|
|
run: make build
|