hsolbrig / PyShEx

ShEx interpreter for ShEx 2.0
Creative Commons Zero v1.0 Universal
24 stars 9 forks source link

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

Closed alejgh closed 3 years ago

alejgh commented 3 years ago

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

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 commented 3 years ago

I have fixed some of the tests that were failing:

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

alejgh commented 3 years ago

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.