Skip to content

Commit

Permalink
Report on failure
Browse files Browse the repository at this point in the history
  • Loading branch information
fmoletta committed Aug 24, 2023
1 parent 000e7a8 commit 951cd4f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/fresh_run_failure.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
title: WARNING fresh build & test failure
labels: bug
---
Failed to make deps/build/test
13 changes: 9 additions & 4 deletions .github/workflows/fresh_run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,7 @@ jobs:
runs-on: ${{ matrix.os }}
name: "Make deps, build & test on fresh ${{ matrix.os }} system"
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/checkout@v3

- name: Install pyenv
run: curl https://pyenv.run | bash
Expand All @@ -35,3 +32,11 @@ jobs:

- name: Run make test
run: make test

- name: Create Issue
if: ${{ failure() }}
uses: JasonEtco/create-an-issue@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
filename: .github/fresh_run_fail.md

0 comments on commit 951cd4f

Please sign in to comment.