Merge branch 'devel' of github.com:ORNL/DataFed into feature-DLT-1109… #1349
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 -DBUILD_WEB_SERVER=OFF | |
cmake --build build -j4 | |
- name: Run tests | |
run: | | |
cmake --build build --target test |