Added checkouts to all rules #3
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build, Test, and Lint | |
on: | |
push: | |
branches: [ "refractor" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: nguy8tri/huskysat:latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build all (Twice) | |
run: (make compile || make compile) | |
test: | |
runs-on: ubuntu-latest | |
container: nguy8tri/huskysat:latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Test (Twice) | |
run: (make test || make test) | |
- name: Upload coverage report | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
name: Coverage Report | |
folder: build/documentation/coverage/ | |
lint: | |
runs-on: ubuntu-latest | |
container: nguy8tri/huskysat:latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Stylecheck | |
run: make google_stylecheck | |
- name: Test Stylecheck | |
run: make google_stylecheck_test | |
- name: Line Endings | |
uses: erclu/check-crlf@v1 |