solver_checks #46
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: solver_checks | |
on: | |
push: | |
schedule: | |
- cron: '0 0 * * 0' | |
jobs: | |
check_correctness: | |
runs-on: ubuntu-latest | |
steps: | |
# checks out repo and upgrades python version | |
- uses: actions/checkout@v4 | |
- name: upgrade python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12.x' | |
# verify python version | |
- run: python3 --version | |
- name: correctness_tests | |
run: | | |
python3 sudoku_tests.py | |
check_performance: | |
runs-on: ubuntu-latest | |
steps: | |
# checks out repo and upgrades python version | |
- uses: actions/checkout@v4 | |
- name: upgrade python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12.x' | |
# verify python version | |
- run: python3 --version | |
- name: performance_tests | |
run: | | |
python3 performance_test.py | |
- run: cat progress.txt |