mirror of
https://github.com/ANL-CEEESA/UnitCommitment.jl.git
synced 2025-12-06 00:08:52 -06:00
GitHub Actions: Only run benchmarks on demand
This commit is contained in:
13
.github/workflows/benchmark.yml
vendored
13
.github/workflows/benchmark.yml
vendored
@@ -1,14 +1,9 @@
|
||||
name: Benchmark
|
||||
on:
|
||||
push:
|
||||
paths-ignore:
|
||||
- '**.csv'
|
||||
- '**.md'
|
||||
- '.git*'
|
||||
- 'test/**'
|
||||
on: push
|
||||
jobs:
|
||||
benchmark:
|
||||
runs-on: [self-hosted, benchmark]
|
||||
if: "contains(github.event.head_commit.message, '[benchmark]')"
|
||||
timeout-minutes: 10080
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
@@ -23,11 +18,11 @@ jobs:
|
||||
- name: Upload logs
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: logs
|
||||
name: Logs
|
||||
path: benchmark/results/*
|
||||
- name: Upload tables & charts
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: tables
|
||||
name: Tables
|
||||
path: benchmark/tables/*
|
||||
|
||||
|
||||
Reference in New Issue
Block a user