diff options
author | Benjamin Chausse <19275615+ChausseBenjamin@users.noreply.github.com> | 2019-12-31 17:07:30 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-31 17:07:30 -0500 |
commit | fb004d12d11271f59b5ae97eb81096de07380921 (patch) | |
tree | f49d81f7ac759579ab6576149eaffaee7a48ebab | |
parent | c22ba3d24dae4a625c04b20b45002654a7325fb7 (diff) |
Create push.yml
-rw-r--r-- | .github/workflows/push.yml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml new file mode 100644 index 0000000..1039ab1 --- /dev/null +++ b/.github/workflows/push.yml @@ -0,0 +1,20 @@ +name: Benchmark +on: + push: + branches: [ master ] + +jobs: + benchmark: + runs-on: linux + steps: + - name: checkout + uses: actions/checkout@v1 + with: + fetch-depth: 1 + - name: gobenchdata to gh-pages + uses: bobheadxi/gobenchdata@v0.3.0 + with: + PRUNE_COUNT: 30 + GO_TEST_FLAGS: -cpu 1,2 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |