-
Notifications
You must be signed in to change notification settings - Fork 3
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
Error running test #46
Comments
Yes, related to pytest, not 17 though - this error is triggered by |
Are you sure? It literally happens when we call
Why does it move files around? Why does it do anything outside of C-Star?
pytest's |
In fact we may want to think more broadly about structuring the building/running of cstar in such a way that all files created are only created in new directories (which can be temporary directories, to make cleaning up easier). |
Ah yes, this isn't what I meant. I can't actually reproduce this, for me
The script was expanded to include a new section to test support for local paths to input datasets. It currently:
Outside of C-Star:
Back in C-Star:
The "Outside C-Star" bit sort of has to exist as on a github runner we have to set up the situation where input datasets exist "elsewhere" on the system. It could be shell scripted, but I knew the whole test process was getting overhauled in the near future anyway and found having a single self-contained python script cleaner and more convenient for personal use. Ditto the string replacement in the yaml - automating this meant:
I have now added some lines in |
I ran the tests again locally and got an error. I think this is related to both using pytest #42 (as we can use pytest
tmpdir
to clean up after our tests run), and also potentially #17 (functions should perhaps be designed so that they don't care if they have already been run before).The text was updated successfully, but these errors were encountered: