Skip to content

Commit

Permalink
GHI #20 Hopefully fix issue
Browse files Browse the repository at this point in the history
  • Loading branch information
doodspav committed Dec 21, 2023
1 parent 563f803 commit 56004f0
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,13 +168,11 @@ jobs:
- name: Get Root Compilation Dir
id: get-path
run: |
tree .
# this only contains directories
dir_names=(test-coverage-internal/*)
# all directories have the same root path
root_path="test-coverage-internal/${dir_names[0]}/patomic.rootpath"
root_path=$(cat "test-coverage-internal/${dir_names[0]}/patomic.rootpath")
# save path for future steps
echo "root_compilation_dir=${root_path}" >> $GITHUB_OUTPUT
Expand All @@ -186,8 +184,6 @@ jobs:

- name: Create Lcov Config File
run: |
tree .
touch lcovrc
echo "genhtml_hi_limit = ${{ env.HI_LIMIT }}" >> lcovrc
echo "genhtml_med_limit = ${{ env.MED_LIMIT }}" >> lcovrc
Expand All @@ -201,7 +197,6 @@ jobs:
run: |
# directory into which to put user artifacts
mkdir test-coverage
tree .
# generate lcov and html files for each separate compilation
for dir in $(find ./test-coverage-internal -not -path '*/.*' -type d -mindepth 1 -maxdepth 1); do
Expand Down

0 comments on commit 56004f0

Please sign in to comment.