all repos

clerk @ 18b35e4

missing tooling for ledger/hledger

clerk/.github/workflows/ci.yml (view raw)

Oleksandr Smirnov Oleksandr Smirnov
olexsmir@gmail.com
ci: report benchstats, 1 month ago
1
name: CI
2
3
on:
4
  push:
5
  pull_request:
6
7
jobs:
8
  test:
9
    runs-on: ubuntu-latest
10
    timeout-minutes: 10
11
    steps:
12
      - uses: actions/checkout@v5
13
      - uses: actions/setup-go@v6
14
        with:
15
          go-version-file: go.mod
16
17
      - run: go build ./...
18
      - run: go vet ./...
19
20
      - name: Test with coverage
21
        run: go test -coverprofile=coverage.out ./...
22
23
      - name: Coverage summary
24
        run: go tool cover -func=coverage.out | tail -1
25
26
      - name: Generate HTML coverage report
27
        run: go tool cover -html=coverage.out -o coverage.html
28
29
      - uses: actions/upload-artifact@v6
30
        with:
31
          name: coverage-report
32
          path: |
33
            coverage.html
34
            coverage.out