census flat file parsing: CBSACode and MedianAge special cases #125
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: HMDA Unit Tests | |
on: | |
pull_request: | |
branches: | |
- master | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup JDK | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '11' | |
distribution: 'adopt' | |
- name: Run hmda-platform Tests | |
run: | | |
sbt "project hmda-platform" "testOnly -- -l actions-ignore" 2>&1 | tee -a log-file | |
continue-on-error: true | |
- name: Run check-digit Tests | |
run: | | |
sbt "project check-digit" "testOnly -- -l actions-ignore" 2>&1 | tee -a log-file | |
continue-on-error: true | |
- name: Run common Tests | |
run: | | |
sbt "project common" "testOnly -- -l actions-ignore" 2>&1 | tee -a log-file | |
continue-on-error: true | |
- name: Run data-browser Tests | |
run: | | |
sbt "project data-browser" "testOnly -- -l actions-ignore" 2>&1 | tee -a log-file | |
continue-on-error: true | |
- name: Run hmda-analytics Tests | |
run: | | |
sbt "project hmda-analytics" "testOnly -- -l actions-ignore" 2>&1 | tee -a log-file | |
continue-on-error: true | |
- name: Run hmda-data-publisher Tests | |
run: | | |
sbt "project hmda-data-publisher" "testOnly -- -l actions-ignore" 2>&1 | tee -a log-file | |
continue-on-error: true | |
- name: Run hmda-quarterly-data-service Tests | |
run: | | |
sbt "project hmda-quarterly-data-service" "testOnly -- -l actions-ignore" 2>&1 | tee -a log-file | |
continue-on-error: true | |
- name: Run hmda-reporting Tests | |
run: | | |
sbt "project hmda-reporting" "testOnly -- -l actions-ignore" 2>&1 | tee -a log-file | |
continue-on-error: true | |
- name: Run institutions-api Tests | |
run: | | |
sbt "project institutions-api" "testOnly -- -l actions-ignore" 2>&1 | tee -a log-file | |
continue-on-error: true | |
- name: Run modified-lar Tests | |
run: | | |
sbt "project modified-lar" "testOnly -- -l actions-ignore" 2>&1 | tee -a log-file | |
continue-on-error: true | |
- name: Run rate-limit Tests | |
run: | | |
sbt "project rate-limit" "testOnly -- -l actions-ignore" 2>&1 | tee -a log-file | |
continue-on-error: true | |
- name: Run ratespread-calculator Tests | |
run: | | |
sbt "project ratespread-calculator" "testOnly -- -l actions-ignore" 2>&1 | tee -a log-file | |
continue-on-error: true | |
- name: Run submission-errors Tests | |
run: | | |
sbt "project submission-errors" "testOnly -- -l actions-ignore" 2>&1 | tee -a log-file | |
continue-on-error: true | |
- name: Check Test Results | |
run: | | |
if [ $(grep 'All tests passed.' log-file | wc -l) -ne 13 ]; then | |
echo "One or more projects had failures. Please review the logs." | |
exit 1 | |
else | |
echo "All tests passed." | |
exit 0 | |
fi |