fix(Txn): serializable behavior is broken #2057 #134
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci-badger-tests-coverage | |
on: | |
pull_request: | |
branches: | |
- main | |
- 'release/v*' | |
jobs: | |
badger-tests-coverage: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 # checkout merge commit | |
with: | |
ref: "refs/pull/${{ github.event.number }}/merge" | |
- name: Get Go Version | |
run: | | |
#!/bin/bash | |
GOVERSION=$({ [ -f .go-version ] && cat .go-version; }) | |
echo "GOVERSION=$GOVERSION" >> $GITHUB_ENV | |
- name: Setup Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ env.GOVERSION }} | |
- name: Install Dependencies | |
run: make dependency | |
- name: Run Badger Tests | |
run: make test | |
- name: Install Goveralls | |
run: go install github.com/mattn/goveralls@latest | |
- name: Send Coverage Results | |
env: | |
COVERALLS_TOKEN: ${{ secrets.COVERALLSIO_TOKEN }} | |
run: goveralls -coverprofile=cover.out |