fix tester m00ex02 #1
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: C++ Test Workflow | |
on: | |
push: | |
branches: | |
- feature/m00ex02 | |
pull_request: | |
branches: | |
- feature/m00ex02 | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Set up dependencies | |
run: sudo apt-get update && sudo apt-get install -y cmake g++ | |
- name: Configure and Build | |
run: | | |
cmake -S Modules/Module00/ex02/test -B build | |
cmake --build build | |
- name: Run Tests | |
run: | | |
cd build | |
ctest --output-on-failure --verbose |