Closed glass-ships closed 10 months ago
QC is going to fail with this because it runs make RUN="" mappings
without using the poetry environment.
But even with the poetry environment, it would need to download the gene mapping data files (>11gb) which presumably wouldn't fit in the github runtime environment, and would take at least a few hours if it did.
One option is to not ignore the mapping files and commit changes, letting QC check against those.
Apart from that, not sure what the best approach should be.
In these cases what we usually do is introduce a GH_ACTIONS variable which is checked in the makefile, and set to true
in the action. Example: https://github.com/monarch-initiative/mondo/blob/0052ea5d7d19596fc73621d4b1e57e00ef73d650/src/ontology/Makefile#L200
ok well, QC job no longer seems to be running and i'm not sure why. but otherwise this should more or less be done
Will take a look tomorrow.
The reason QC stop working:
Invalid workflow file: .github/workflows/qc.yml#L33 You have an error in your yaml syntax on line 33
ah thank you anita!
i'll have to play with this more later unless one of you is interested in taking a look.
running GH_ACTIONS=true make mappings
/ GH_ACTIONS=false make mappings
/ just make mappings
works as expected locally, but something about running in a workflow doesn't seem to like the usage of that variable.
Closes #26