diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e4db9e1..e8f9e4d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,7 +12,11 @@ on: - 'README.md' jobs: unit: - runs-on: ubuntu-20.04 + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: [ubuntu-latest, macos-latest] steps: - name: Checkout uses: actions/checkout@v2 @@ -26,4 +30,4 @@ jobs: run: | chmod 765 test/filemode.txt - name: Run tests - run: make test \ No newline at end of file + run: go test -v -race -cover \ No newline at end of file diff --git a/Makefile b/Makefile index 0f3cf54..5417cef 100644 --- a/Makefile +++ b/Makefile @@ -14,4 +14,4 @@ clean: rm -rf build test: - go test -cover \ No newline at end of file + go test -v -race -cover \ No newline at end of file