-
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
[BLOCKING] Clone optimade-python-tools and run docker-compose #3
Conversation
So, the CI tests might be ill-conditioned here. The CI shouldn't be testing the optimade-server but the action. Since the action tests the optimade-server, we don't actually want to test the server in the CI. Rather we should just be testing to ensure the action is running the right command and properly failing/succeeding depending on the output of that command. |
Agreed. It's a bit wishy-washy where to draw the line at the moment though. But I have been introducing tests of Edit: Right, so thinking more about this, I indeed wanted to run this action passing a URL as well, however, there wasn't anyone working I could come up with. But I guess we could try Heroku? The validator doesn't appreciate the (valid) provider.optimade.org still. |
Yup. I like the BATS testing. One viable option would be to make a dummy |
Very nice idea. It just sets an environment variable, outputs something or other, which can then be tested with BATS 👍 |
So what do you say to get this merged as a temporary solution, opening the possibility of getting the other open PRs merged, create an issue to convert all CI to BATS testing (based on the work I started in #4) and then finally release v1 - the CI testing shouldn't hinder the release I think? |
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.
Missed the huge blocking sign when I reviewed the other PR first X)
No worries - but what do you think about this comment? Never mind, it seems all are on board 😄 |
I agree, let's merge and then update. |
Fixes #2
The initial work-around here is to
git clone
theoptimade-python-repository
into the temporary GH Actions server and - without installing anything - run thedocker-compose.yml
file found in the repository root ofoptimade-python-repository
.