Skip to content

Update feature-template.md #3363

Update feature-template.md

Update feature-template.md #3363

Workflow file for this run

name: Unit-Testing

Check failure on line 1 in .github/workflows/unit-tests.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/unit-tests.yml

Invalid workflow file

(Line: 16, Col: 15): Unexpected value 'run', (Line: 12, Col: 15): Required property is missing: uses
on: push
jobs:
unit-test:
runs-on: ubuntu-latest
container: debian:bookworm
if: ${{ always() }}
steps:
- uses: actions/checkout@v2
- name: Update debian
run: apt update
- name: Install dependencies
with:
submodules: recursive
fetch-depth: 0
run: |
./scripts/generate_datafed.sh
./external/DataFedDependencies/scripts/install_core_dependencies.sh
- name: Build
run: |
/opt/datafed/dependencies/bin/cmake -S. -B build -DCMAKE_BUILD_TYPE=Debug -DBUILD_WEB_SERVER=OFF
/opt/datafed/dependencies/bin/cmake --build build -j4
- name: Run tests
run: |
/opt/datafed/dependencies/bin/cmake --build build --target test