Skip to content

test.yaml

test.yaml #14

Workflow file for this run

name: C/C++ CI
on:
push:
pull_request:
branches: ["main"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: sudo apt-get install libgtest-dev cmake -y
name: Build Tests

Check failure on line 16 in .github/workflows/build-test.yaml

View workflow run for this annotation

GitHub Actions / C/C++ CI

Invalid workflow file

The workflow is not valid. .github/workflows/build-test.yaml (Line: 16, Col: 9): 'name' is already defined .github/workflows/build-test.yaml (Line: 17, Col: 9): 'run' is already defined
run: |
mkdir build && cd build
cmake ..
make all -j
- name: Run Tests
run: ctest