File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change 1
1
on :
2
2
pull_request :
3
- # only check if a file is changed within the project_euler directory and related files
3
+ # Run only if a file is changed within the project_euler directory and related files
4
4
paths :
5
- - ' project_euler/**'
6
- - ' .github/workflows/project_euler.yml'
7
- - ' scripts/validate_solutions.py'
5
+ - " project_euler/**"
6
+ - " .github/workflows/project_euler.yml"
7
+ - " scripts/validate_solutions.py"
8
+ schedule :
9
+ - cron : " 0 0 * * *" # Run everyday
8
10
9
- name : ' Project Euler'
11
+ name : " Project Euler"
10
12
11
13
jobs :
12
14
project-euler :
27
29
- name : Install pytest
28
30
run : |
29
31
python -m pip install --upgrade pip
30
- python -m pip install --upgrade pytest
32
+ python -m pip install --upgrade pytest pygithub
31
33
- run : pytest scripts/validate_solutions.py
34
+ env :
35
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments