Update build/test action & readme

update readme

Update test.yml
This commit is contained in:
tsosunchia
2023-06-14 23:05:32 +08:00
parent b68b768a65
commit ca2a7a8dc8
3 changed files with 15 additions and 1 deletions

View File

@@ -5,6 +5,7 @@ on:
push:
branches:
- main
- backup
tags:
- "v*"
paths:

View File

@@ -4,6 +4,7 @@ on:
push:
branches:
- main
- backup
paths:
- "**/*.go"
- "go.mod"
@@ -40,4 +41,4 @@ jobs:
run: sudo go test -v -coverprofile='coverage.out' -covermode=count ./...
- name: Test with windows
if: ${{ matrix.os == 'windows-latest' }}
run: go test -v -coverprofile='coverage.out' -covermode=count ./...
run: go test -v -coverprofile='coverage.out' -covermode=count ./...