Closed parkerziegler closed 1 month ago
Note that the compare
job is expected to fail until #8 is merged. We'll know for certain if everything is working correctly once we merge that PR and trigger a new run of the workflow here.
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?
Expected—the branch just needed a rebase to pick up the new directory structure.
⚠️ Note: This PR is dependent on #8—do not merge before then!
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.