titipata/pubmed_parser

Fix GitHub workflows

Closed this issue · 4 comments

Describe the bug
Every time a PR is done, GitHub conducts two checks: test and docs. Both checks fail.

To Reproduce
Go to link

Expected behavior
When testing locally, I get no errors. Presumably, there is something wrong with the checks.

Failing tests could be due to outdated test data.

Failing docs could be due to different specifications of the build environment (like package versions, language, etc.)

The errors are caused by the workflow using an outdated incorrect branch to conduct the tests (titipata/pubmed_parser/tree/master). This also imposes a problem when testing changes in the workflow file because the workflow is using the outdates version. The changes I conducted in the workflow file should use the branch of the PR (also if it is a fork). Unfortunately I have no way to check if my changes yield the desired results.

I have just merged 0d7e680 into master. We're expected to see its effect the next time a PR is tested, right?

This was fixed in 55a796c.

The unexpected solution was to verify the installation before executing the tests.