Skip to content

Commit

Permalink
fix: Made CI workflow independent of test filenames
Browse files Browse the repository at this point in the history
  • Loading branch information
2b-t committed Jul 23, 2022
1 parent ab289be commit ba732e3
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ jobs:
run: docker-compose -f docker/docker-compose.yml up --detach
- name: Run BATS Bash unit-tests
run: |
docker exec realtime_docker bash -c "
cd test &&
./test_lib_compile_kernel.bats &&
./test_lib_install_debian.bats &&
./test_lib_output.bats
"
docker exec realtime_docker bash -c '
cd test &&
for TEST_FILE in $(find . -maxdepth 1 -name "*.bats"); do
./"${TEST_FILE}";
done
'
- name: Stop Docker
run: docker stop realtime_docker

0 comments on commit ba732e3

Please sign in to comment.