-
Notifications
You must be signed in to change notification settings - Fork 38
Fix tests #170
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
Fix tests #170
Changes from all commits
9c389c2
4888155
50a9755
754fec1
df98a56
d46d981
e3eb9a3
b370787
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| name: CI | ||
| on: [push, pull_request] | ||
| jobs: | ||
| specs: | ||
| runs-on: ubuntu-latest | ||
| strategy: | ||
| matrix: | ||
| python-version: | ||
| - 3.8 # oldest officially supported by python-ly | ||
| - 3.12 # latest | ||
|
|
||
| steps: | ||
| - name: Check out code | ||
| uses: actions/checkout@v4 | ||
| - name: Set up Python ${{ matrix.python-version }} | ||
| uses: actions/setup-python@v5 | ||
| with: | ||
| python-version: ${{ matrix.python-version }} | ||
| - name: Install dependencies | ||
| run: pip install pytest lxml | ||
| - name: Run tests | ||
| run: pytest tests/ |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,11 +1,11 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <?xml version="1.0" encoding="utf-8"?> | ||
| <!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 2.0 Partwise//EN" | ||
| "http://www.musicxml.org/dtds/partwise.dtd"> | ||
| <score-partwise version="3.0"> | ||
| <identification> | ||
| <encoding> | ||
| <software>python-ly 0.9.5</software> | ||
| <encoding-date>2017-05-14</encoding-date> | ||
| <software>python-ly 0.9.8</software> | ||
| <encoding-date>2024-08-10</encoding-date> | ||
| </encoding> | ||
| </identification> | ||
| <part-list> | ||
|
|
@@ -64,6 +64,7 @@ | |
| </note> | ||
| </measure> | ||
| <measure number="2"> | ||
| <print new-system="yes" /> | ||
| <note> | ||
| <pitch> | ||
| <step>C</step> | ||
|
|
@@ -101,6 +102,5 @@ | |
| <type>quarter</type> | ||
| </note> | ||
| </measure> | ||
| <measure number="3" /> | ||
|
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Seems to be correct - |
||
| </part> | ||
| </score-partwise> | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,8 +4,8 @@ | |
| <score-partwise version="3.0"> | ||
| <identification> | ||
| <encoding> | ||
| <software>python-ly 0.9.4</software> | ||
| <encoding-date>2016-03-28</encoding-date> | ||
| <software>python-ly 0.9.8</software> | ||
| <encoding-date>2024-08-10</encoding-date> | ||
| </encoding> | ||
| </identification> | ||
| <part-list> | ||
|
|
@@ -87,6 +87,8 @@ | |
| <dashes type="start" /> | ||
| </direction-type> | ||
| </direction> | ||
| </measure> | ||
| <measure number="2"> | ||
|
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ✔️ correct - |
||
| <direction placement="below"> | ||
| <direction-type> | ||
| <dashes type="stop" /> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,11 +1,11 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <?xml version="1.0" encoding="utf-8"?> | ||
| <!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 2.0 Partwise//EN" | ||
| "http://www.musicxml.org/dtds/partwise.dtd"> | ||
| <score-partwise version="3.0"> | ||
| <identification> | ||
| <encoding> | ||
| <software>python-ly 0.9.5</software> | ||
| <encoding-date>2017-06-26</encoding-date> | ||
| <software>python-ly 0.9.8</software> | ||
| <encoding-date>2024-08-10</encoding-date> | ||
| </encoding> | ||
| </identification> | ||
| <part-list> | ||
|
|
@@ -26,11 +26,6 @@ | |
| <line>2</line> | ||
| </clef> | ||
| </attributes> | ||
| <direction placement="above"> | ||
| <direction-type> | ||
| <rehearsal>A</rehearsal> | ||
| </direction-type> | ||
| </direction> | ||
|
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I can't tell for sure if the changes to this file are correct, but the result renders in MuseScore almost the same |
||
| <note> | ||
| <pitch> | ||
| <step>C</step> | ||
|
|
@@ -45,7 +40,7 @@ | |
| <attributes /> | ||
| <direction placement="above"> | ||
| <direction-type> | ||
| <rehearsal>H</rehearsal> | ||
| <rehearsal>A</rehearsal> | ||
| </direction-type> | ||
| </direction> | ||
| <note> | ||
|
|
@@ -62,7 +57,7 @@ | |
| <attributes /> | ||
| <direction placement="above"> | ||
| <direction-type> | ||
| <rehearsal>J</rehearsal> | ||
| <rehearsal>H</rehearsal> | ||
| </direction-type> | ||
| </direction> | ||
| <note> | ||
|
|
@@ -79,7 +74,7 @@ | |
| <attributes /> | ||
| <direction placement="above"> | ||
| <direction-type> | ||
| <rehearsal>Z</rehearsal> | ||
| <rehearsal>J</rehearsal> | ||
| </direction-type> | ||
| </direction> | ||
| <note> | ||
|
|
@@ -96,7 +91,7 @@ | |
| <attributes /> | ||
| <direction placement="above"> | ||
| <direction-type> | ||
| <rehearsal>AA</rehearsal> | ||
| <rehearsal>Z</rehearsal> | ||
| </direction-type> | ||
| </direction> | ||
| <note> | ||
|
|
@@ -113,7 +108,7 @@ | |
| <attributes /> | ||
| <direction placement="above"> | ||
| <direction-type> | ||
| <rehearsal>AZ</rehearsal> | ||
| <rehearsal>AA</rehearsal> | ||
| </direction-type> | ||
| </direction> | ||
| <note> | ||
|
|
@@ -130,7 +125,7 @@ | |
| <attributes /> | ||
| <direction placement="above"> | ||
| <direction-type> | ||
| <rehearsal>BA</rehearsal> | ||
| <rehearsal>AZ</rehearsal> | ||
| </direction-type> | ||
| </direction> | ||
| <note> | ||
|
|
@@ -145,6 +140,11 @@ | |
| </measure> | ||
| <measure number="8"> | ||
| <attributes /> | ||
| <direction placement="above"> | ||
| <direction-type> | ||
| <rehearsal>BA</rehearsal> | ||
| </direction-type> | ||
| </direction> | ||
| </measure> | ||
| </part> | ||
| </score-partwise> | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,25 +5,25 @@ | |
| <movement-title>Somebody to love</movement-title> | ||
| <identification> | ||
| <encoding> | ||
| <software>python-ly 0.9.4</software> | ||
| <encoding-date>2016-03-28</encoding-date> | ||
| <software>python-ly 0.9.8</software> | ||
| <encoding-date>2024-08-10</encoding-date> | ||
| </encoding> | ||
| </identification> | ||
| <part-list> | ||
| <part-group number="1" type="start"> | ||
| <part-group type="start" number="1"> | ||
|
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ✔️ mere attribute order change |
||
| <group-symbol>bracket</group-symbol> | ||
| </part-group> | ||
| <score-part id="P1"> | ||
| <part-name /> | ||
| </score-part> | ||
| <part-group number="2" type="start"> | ||
| <part-group type="start" number="2"> | ||
| <group-symbol>bracket</group-symbol> | ||
| </part-group> | ||
| <score-part id="P2"> | ||
| <part-name /> | ||
| </score-part> | ||
| <part-group number="2" type="stop" /> | ||
| <part-group number="1" type="stop" /> | ||
| <part-group type="stop" number="2" /> | ||
| <part-group type="stop" number="1" /> | ||
| </part-list> | ||
| <part id="P1"> | ||
| <measure number="1"> | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✔️ correct MusicXML equivalent of lily
\break