all repos — telegram-bot-api @ bot-api-6.9

Golang bindings for the Telegram Bot API

.github/workflows/test.yml (view raw)

 1name: Test
 2
 3on:
 4  push:
 5    branches:
 6      - master
 7      - develop
 8  pull_request:
 9
10jobs:
11  build:
12    name: Test
13    runs-on: ubuntu-latest
14    steps:
15    - name: Set up Go 1.x
16      uses: actions/setup-go@v2
17      with:
18        go-version: ^1.15
19      id: go
20
21    - name: Check out code into the Go module directory
22      uses: actions/checkout@v2
23
24    - name: Build
25      run: go build -v .
26
27    - name: Test
28      run: go test -coverprofile=coverage.out -covermode=atomic -v .
29
30    - name: Upload coverage report
31      uses: codecov/codecov-action@v1
32      with:
33        file: ./coverage.out