Skip to content

Commit 66d2a56

Browse files
authored
Update ci.yml
1 parent cfeab99 commit 66d2a56

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: C++ CI and Codecov for Multiple Projects
1+
name: CI
22

33
on:
44
push:
@@ -34,7 +34,10 @@ jobs:
3434
cd data-structures/${{ matrix.project }}
3535
# Run the build script for the project
3636
./build.sh
37-
./bin/test_${{ matrix.project | toLower }}
37+
# Convert the project name to lowercase
38+
PROJECT_LOWER=$(echo "${{ matrix.project }}" | tr '[:upper:]' '[:lower:]')
39+
./bin/test_$PROJECT_LOWER
40+
./clean.sh
3841
3942
# Step 4: Upload coverage to Codecov
4043
- name: Upload coverage to Codecov

0 commit comments

Comments
 (0)