imr-framework / pypulseq

Pulseq in Python
https://pypulseq.readthedocs.io
GNU Affero General Public License v3.0
111 stars 58 forks source link

Enh: Enable GitHub CI #142

Closed wtclarke closed 8 months ago

wtclarke commented 8 months ago

Hi,

This PR enables running the included tests using the pytest module, utilising the Github CI / Actions facility. This was briefly discussed in Issue #119 .

I've lifted this from my own python package https://github.com/wtclarke/nifti_mrs_tools/blob/master/.github/workflows/push_pr.yml. There's also an example in there for implementing a publishing pathway with the Github releases framework.

Note that the tests currently don't complete sucessfulyl as th pypulseq/tests/matlab_seqs/ directory is missing from the repository.