Skip to content
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

[WIP] Add github actions to run test and publish to pypi #72

Merged
merged 8 commits into from
Nov 13, 2020

Conversation

alejgh
Copy link
Collaborator

@alejgh alejgh commented Nov 10, 2020

I have updated 3 GitHub actions files to run automatically the following tasks:

  • Run tests and update dependencies on push to master.
  • Run tests on pull requests.
  • Publish the library to PyPi when a tag is pushed to master.

These actions are based on the ones from biolinkml with some minor modifications.

We still need to create a token with PyPi and write it to the secret keys of this repo.

Also, some of the tests are currently failing. For example, the test_fhir.py test in test_issues uses a turtle file (http://build.fhir.org/observation-example-haplotype2.ttl) which is not found on the server. There are some other tests that we need to take a look into.

@alejgh alejgh changed the title Add github actions to run test and publish to pypi [WIP] Add github actions to run test and publish to pypi Nov 10, 2020
* Skips were added to the tests relying on the mannheim drugbank sparql endpoint.
* Updated ttl urls to the fhir examples.
* Updated cli help file.
* Update json-ld text used in the schemaorg tests.
@alejgh
Copy link
Collaborator Author

alejgh commented Nov 11, 2020

I have fixed some of the tests that were failing:

  • Skips were added to the tests relying on the mannheim drugbank sparql endpoint, since it is currently down.
  • Updated ttl urls to the fhir examples.
  • Updated cli help file.
  • Update json-ld text used in the schemaorg tests.

Now just two tests from the ShEx test manifest should be failing.

@alejgh
Copy link
Collaborator Author

alejgh commented Nov 13, 2020

I have made some changes and now the n3 mapper test files are created before running the tests. Currently 3 tests are failing related to the shextest manifest, since a couple of tests from the manifest are failing. However, the actions are now ready to go.

Tests will now be run on new pushes to master and pull requests.

@alejgh alejgh merged commit 0be71ea into master Nov 13, 2020
@alejgh alejgh deleted the github_actions branch November 13, 2020 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant