DDMAL / CantusDB

A new site for Cantus Database running under Django.
https://cantusdatabase.org
MIT License
5 stars 6 forks source link

Add GitHub action to run tests; fix erroring test for ChantEditSyllabificationView #1526

Closed dchiller closed 1 month ago

dchiller commented 1 month ago

This PR adds a GitHub action that will run the django test suite when a PR is opened or new commits are pushed.

It also fixes an error in the ChantEditSyllabificationView. Version 1.1.0 of volpiano-display-utilties introduced an additional output to the syllabify_text function, which was not accounted for in the view.

Finally, during the course of fixing these issues, I ran into a build error having to do with how psycopg-binary was specified in pyproject.toml. With this PR, a specific version of that package is specified.

Closes #1524. Closes #1525.