diff options
| author | Eugene Triguba <eugenetriguba@gmail.com> | 2024-08-31 11:52:32 -0400 |
|---|---|---|
| committer | Eugene Triguba <eugenetriguba@gmail.com> | 2024-08-31 11:52:32 -0400 |
| commit | d7a22d2232a1b403aaef29bb54a7887ce0cd684f (patch) | |
| tree | 2a44409fef9f87d87c9b9efdba9b4f488f481ac1 /.github | |
| parent | Initial Commit (diff) | |
| download | envelope-d7a22d2232a1b403aaef29bb54a7887ce0cd684f.zip | |
Add initial implementation
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/test.yml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..7dabf09 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,27 @@ +name: Test + +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + run-tests: + runs-on: ubuntu-22.04 + steps: + - name: Checkout code + uses: actions/checkout@v4 + - name: Set up Go + uses: actions/setup-go@v5 + with: + go-version: '1.23' + - name: Runs tests with coverage + run: go test -race -coverprofile=coverage.out -covermode=atomic ./... + - name: Upload coverage to Codecov + uses: codecov/codecov-action@v4 + with: + files: coverage.out + |