forked from picons/picons
-
Notifications
You must be signed in to change notification settings - Fork 0
26 lines (25 loc) · 843 Bytes
/
checks.yml
File metadata and controls
26 lines (25 loc) · 843 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
name: Check for faults
on:
push:
branches:
- master
paths:
- 'build-source/logos/**'
- 'build-source/snp.index'
- 'build-source/srp.index'
- 'build-source/utf8snp.index'
pull_request:
branches:
- master
jobs:
checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Checking for faults...
run: |
bash ./resources/tools/check-index.sh ./build-source srp $PWD/errors_detected
bash ./resources/tools/check-index.sh ./build-source snp $PWD/errors_detected
bash ./resources/tools/check-index.sh ./build-source utf8snp $PWD/errors_detected
bash ./resources/tools/check-logos.sh ./build-source/logos $PWD/errors_detected
if [[ -f $PWD/errors_detected ]]; then echo "Errors were found in the repository!"; exit 1; fi