tstor/.github/workflows/test.yaml
Antonio Navarro Perez f8068cde52 Remove compile step from PR tests
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2020-10-18 20:30:43 +02:00

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