feat(deployment): Add auto-evaluation deployment files #5
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: Exécution des tests | |
# Workflow qui se déclenche lors des push et pull requests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
run-tests: | |
runs-on: ubuntu-latest | |
steps: | |
# Checkout du code | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
# Ajout des droits d'exécution | |
- name: Make 'runTests' script executable | |
run: chmod +x ./runTests | |
# Exécution du script de tests | |
- name: Execute 'runTests' script | |
run: ./runTests |