Unverified Commit 5f5d0b5c authored by Niklas Adolfsson's avatar Niklas Adolfsson
Browse files

test test

parent d48b6458
Pipeline #219282 canceled with stages
in 1 minute and 56 seconds
......@@ -183,3 +183,47 @@ jobs:
wasm-pack test --headless --chrome
pkill substrate
working-directory: wasm-tests
bench:
name: Benchmarks gitlab
runs-on: ubuntu-latest
steps:
- name: Checkout Sources
uses: actions/checkout@v3.1.0
with:
fetch-depth: 0
ref: "gh-pages"
- name: Install Rust nightly toolchain
uses: actions-rs/toolchain@v1.0.7
with:
profile: minimal
toolchain: nightly
override: true
- name: Rust Cache
uses: Swatinem/rust-cache@v2.0.0
- name: Show current working dir
id: step_one
run: |
echo $(pwd)
- name: Copy bench results
id: step_two
run: |
cp bench/$(date "+%d-%m-%Y")/output.txt output.txt
- name: Store benchmark result
uses: rhysd/github-action-benchmark@v1
with:
tool: 'cargo'
output-file-path: "output.txt"
benchmark-data-dir-path: "bench/dev2"
fail-on-alert: true
github-token: ${{ secrets.GITHUB_TOKEN }}
comment-on-alert: true
alert-comment-cc-users: '@niklasad1'
auto-push: true
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment