tstor/.github/workflows/test.yaml

28 lines
682 B
YAML
Raw Normal View History

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
2020-08-02 18:33:59 +00:00
run: make test
- name: Code Coverage
uses: codecov/codecov-action@v1
with:
fail_ci_if_error: true
2020-08-02 18:33:59 +00:00
- name: Build
run: make build