-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add CI. #9
Conversation
Note that the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
currently seeing
Run python stlor/main.py
python: can't open file '/home/runner/work/STLoR/STLoR/stlor/main.py': [Errno 2] No such file or directory
Error: Process completed with exit code 2.
on the run attempt (post-merge of previous PR). is that expected behavior or a file path issue?
b0a8fb6
to
1d7c3a3
Compare
Expected—the branch just needed a rebase to pick up the new directory structure. |
…ad-artifact and download-artifact.
…processes" scheduler for speedup.
379bfb9
to
c4d07ad
Compare
This PR adds a minimal CI setup for the STLoR repo. Now, on every push to
main
or PR againstmain
, we take the following steps:03_ActivityMatch.csv
onorigin/main
, which should represent our source of truth. Rename this file tomain_ActivityMatch.csv
and store it using theupload-artifact
action.checkout-data
job.main_ActivityMatch.csv
to the root directory using thedownload-artfiact
action.pyproject.toml
.origin.main
and the just-generated dataset and print the diff (if any).Note that we don't error if there is a diff. I expect we may have a few changes in the coming days that will result in updates to the dataset, and we don't want to consider those errors. However, this script should at least alert us to instances where code changes amount to differences in the generated dataset.