Set 테스트 케이스 추가 #128
Workflow file for this run
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: test | |
on: | |
pull_request: | |
jobs: | |
test-coverage: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Check out this repository | |
uses: actions/[email protected] | |
- name: Build and test this project | |
run: | | |
mkdir build && cd build | |
cmake .. -DCMAKE_BUILD_TYPE=PROFILE $SRC_DIR | |
make VERBOSE=1 | |
./tree_test | |
- name: Save test result to text file | |
if: always() | |
run: | | |
cd build | |
./tree_test | tee test_output.txt | |
cd CMakeFiles/tree_test.dir/source/ | |
ls | |
- name: PR comment with file | |
if: always() | |
uses: thollander/actions-comment-pull-request@v2 | |
with: | |
filePath: build/test_output.txt | |