Skip to content

Commit

Permalink
benchmark job
Browse files Browse the repository at this point in the history
  • Loading branch information
gavincabbage committed Sep 22, 2019
1 parent 7179c8f commit 446811b
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,24 @@ jobs:
- name: Run unit tests
run: go test -v -p 1 -tags=unit -covermode=atomic -timeout=30s ./...

benchmark:
name: Benchmark
runs-on: ubuntu-18.04
strategy:
matrix:
go-version: [1.13]
steps:
- name: Checkout code
uses: actions/checkout@v1
- name: Setup Go
uses: actions/setup-go@v1
with:
go-version: ${{ matrix.go-version }}
- name: Install dependencies
run: go mod download
- name: Run benchmark
run: go test -v -p 1 -tags=benchmark -run=Benchmark -timeout=30s -benchmem -bench=.

integration:
name: Integration Tests
runs-on: ubuntu-18.04
Expand Down
2 changes: 1 addition & 1 deletion chiv.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Package chiv archives relational database tables to Amazon S3
// Package chiv archives relational database tables to Amazon S3.
package chiv

import (
Expand Down

0 comments on commit 446811b

Please sign in to comment.