Merge pull request #1059 from ORNL/1057-trigger-running-foxx-tests-as… #1066
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: Unit-Testing | |
on: push | |
jobs: | |
unit-test: | |
runs-on: ubuntu-latest | |
if: ${{ always() }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Update ubuntu | |
run: sudo apt-get update | |
- name: Install dependencies | |
run: | | |
./scripts/generate_datafed.sh | |
sudo ./scripts/install_core_dependencies.sh | |
./scripts/generate_datafed.sh | |
- name: Build | |
run: | | |
cmake -S. -B build -DCMAKE_BUILD_TYPE=Debug | |
cmake --build build -j4 | |
- name: Run tests | |
run: | | |
cmake --build build --target test |