Skip to content

Commit

Permalink
🐛 config
Browse files Browse the repository at this point in the history
  • Loading branch information
cdstanford committed Nov 16, 2023
1 parent 0928561 commit 921a43c
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Build

on:
push:
paths: [ 'Makefile' ]
paths: [ 'Makefile', '.github/**' ]
branches: [ main ]
pull_request:
branches: [ main ]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Checks

on:
push:
paths: [ 'src/**', 'tests/**', '.github/**' ]
branches: [ main ]
paths: [ 'src/**', 'tests/**' ]
pull_request:
branches: [ main ]

Expand Down
22 changes: 16 additions & 6 deletions .github/workflows/test_results.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,25 @@
name: Test Results
on: push
name: Test results

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

permissions:
contents: write

jobs:
report:
update:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Make test
run: make test
- name: Commit

- name: Update results
run: make test-results

- name: Commit results
run: |
git config --global user.name 'Caleb Stanford'
git config --global user.email '[email protected]'
Expand Down

0 comments on commit 921a43c

Please sign in to comment.