This repository has been archived by the owner on Apr 9, 2024. It is now read-only.
Tests Checker #4825
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: Tests Checker | |
env: | |
UNIT_TEST_BINARY: unit_test | |
on: | |
push: | |
pull_request: | |
schedule: | |
- cron: '0 * * * *' | |
workflow_dispatch: | |
jobs: | |
check_tests: | |
runs-on: ubuntu-latest | |
container: epitechcontent/epitest-docker | |
steps: | |
- name: Checkout Repository | |
uses: actions/[email protected] | |
- name: Run Tests | |
run: make tests_run | |
timeout-minutes: 2 | |
- name: Check Tests Binary | |
run: | | |
if [ ! -f $UNIT_TEST_BINARY ]; then | |
echo "Unit Test Binary not found. Exiting with error." | |
exit 1 | |
fi |