This repository has been archived by the owner on Feb 20, 2024. It is now read-only.
run lib checker tests daily #223
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: run lib checker tests daily | |
on: | |
schedule: | |
# All library checker tests and some handmade tests are generated randomly. | |
# So let's re-run all of these daily haha (why not, github let's us do this | |
# for free). Besides the library getting better tested over time, the real | |
# value of this is occasionally, the library checker folks will add new | |
# test cases. And during each run of `oj-verify all`, all new tests are | |
# pulled down from their repo. I don't follow library checker development | |
# closely enough to manually rerun some test when a new test case is added. | |
# Automating this is a better solution anyways. | |
# | |
# Let's re-run all tests at midnight, so that when I wake up, I can verify | |
# all tests ran successfully. | |
- cron: '0 7 * * *' | |
jobs: | |
remove_all_tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
ref: dev | |
- name: remove all tests | |
run: | | |
git config --local user.name github-actions | |
git config --local user.email [email protected] | |
git rm .verify-helper/timestamps.remote.json | |
git commit --message "removing .verify-helper/timestamps.remote.json file to rerun all tests" | |
git push |