Skip to content

Commit

Permalink
Merge 7d24e37 into 58302b5
Browse files Browse the repository at this point in the history
  • Loading branch information
reginawang3495 committed May 7, 2021
2 parents 58302b5 + 7d24e37 commit 671d78c
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/go-coverage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: test coverage
on:
push:
branches:
- master
pull_request:
jobs:
coverage:
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: '1.14'
- name: Checkout
uses: actions/checkout@v2
- name: Calc Coverage
run: |
go test -v ./... -covermode=count -coverprofile=coverage.out
continue-on-error: true
- name: Convert coverage.out to coverage.lcov
uses: jandelgado/gcov2lcov-action@v1.0.6
- name: Coveralls
uses: coverallsapp/github-action@v1.1.2
with:
github-token: ${{ secrets.github_token }}
path-to-lcov: coverage.lcov
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[![Coverage Status](https://coveralls.io/repos/github/uclaacm/teach-la-go-backend/badge.svg?branch=master)](https://coveralls.io/github/uclaacm/teach-la-go-backend?branch=master)

# teach-la-go-backend

Hey there! This is the repo for the Go Backend for the Teach LA editor. If you're a frontend dev and are just looking for documentation of our endpoints, you can find that [right here](https://documenter.getpostman.com/view/10224331/TW6xmnn2). If you're a backend dev (or prospective dev) looking to get involved, then read on for info on how to get up and running!
Expand Down

0 comments on commit 671d78c

Please sign in to comment.