ecboghiu / inflation

Implementations of the Inflation Technique for Causal Inference.
GNU General Public License v3.0
22 stars 3 forks source link

GitHub Actions: testing workflow #119

Open ericahan22 opened 11 months ago

ericahan22 commented 11 months ago

I've set up a GitHub Actions testing workflow that will run after each push and pull request. This only builds on Python 3.8 for now and installs dependencies using pip, then runs all the tests. A requirements.txt file has also been added for pip to use.

The tests are failing since it cannot find the MOSEK license in the GitHub runner directory. A license key can be added as a GitHub Secret from the repository settings, and it can be called MOSEK_LICENSE_KEY. However, only Admins have access to the settings so I cannot do this myself. After this is done, everything should pass, although this hasn't been tested since I cannot add secrets.

ecboghiu commented 11 months ago

I'm thinking that it might not be a good idea to add a MOSEK license as a secret key, I'm not sure if it breaks the academic license. It's probably better to wait until we implement an open-source solver to add the testing workflow.