This repository has been archived by the owner on Jan 26, 2025. It is now read-only.
Tests Checker #1358
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/checkout@v3.4.0 | |
- 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 |