Skip to content
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

Alternative version of python-ly conversion #138

Open
wants to merge 222 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
222 commits
Select commit Hold shift + click to select a range
4526dbc
Add stanzas to first voice
bryantgeorge May 28, 2019
42c641d
Recognize underscore as skip
bryantgeorge May 29, 2019
49db4ed
Merge branch 'add-lyricsto-support' into 'stable'
bryantgeorge May 30, 2019
0dfc536
* ly2xml: Fix pickup note timing
bryantgeorge Jun 6, 2019
2cab7be
* ly2xml: Add support for special barlines
bryantgeorge Jun 7, 2019
5df0a44
* ly2xml: Skip slurs and ties lyrically
bryantgeorge Jun 7, 2019
f2f1c6e
- ly2xml: Prevent multiple backups
bryantgeorge Jun 10, 2019
fa865ee
* ly2xml: Add dotted dashed heavy-heavy support
bryantgeorge Jun 11, 2019
d0246f3
Resolve "Fix tests"
bryantgeorge Jun 12, 2019
bbe9975
Merge branch '2-fix-tests' into 'stable'
bryantgeorge Jun 12, 2019
a644e30
Merge branch 'stable' of gitlab.ccel.org:bgeorge/python-ly into 9-lyr…
bryantgeorge Jun 12, 2019
d0792fc
Merge branch 'stable' of gitlab.ccel.org:bgeorge/python-ly into 5-fix…
bryantgeorge Jun 12, 2019
77a4188
Merge branch 'stable' of gitlab.ccel.org:bgeorge/python-ly into 8-spe…
bryantgeorge Jun 12, 2019
261ad15
- ly2xml Lyrics: Remove todo
bryantgeorge Jun 12, 2019
9372877
* ly2xml: Prevent empty final measure
bryantgeorge Jun 12, 2019
acb38ad
* ly2xml: Fix final note lengths
bryantgeorge Jun 12, 2019
c5df381
* ly2xml Tests: Fix tests with backup elements
bryantgeorge Jun 13, 2019
1811e25
Merge branch '9-lyric-placement-fix-issues' into 'stable'
bryantgeorge Jun 14, 2019
25cdf77
Merge branch '8-special-barline' into 'stable'
bryantgeorge Jun 14, 2019
71687c5
Merge branch '5-fix-pickup-measure-notes-timing' into 'stable'
bryantgeorge Jun 14, 2019
58e432e
Merge branch '6-last-measures-and-last-note-lengths-inconsistent' int…
bryantgeorge Jun 14, 2019
af3eae2
Update xml_objs.py
bryantgeorge Jun 14, 2019
55865aa
* ly2xml Tests: Prevent outdated lyric warning
bryantgeorge Jun 14, 2019
2dafcaf
* ly2xml Tests: Search folder for new test files
bryantgeorge Jun 14, 2019
9992b18
* ly2xml Tests: Update and add test files
bryantgeorge Jun 14, 2019
4415282
- ly2xml Tests: Fix file encoding
bryantgeorge Jun 14, 2019
34f1278
* ly2xml Pipeline: Enforce pep 8 standards
bryantgeorge Jun 18, 2019
35eae45
- ly2xml Pipeline: Add dev only requirements
bryantgeorge Jun 18, 2019
cb719b0
* ly2xml Pipeline: Conform to pep 8 standards
bryantgeorge Jun 18, 2019
196a66c
* ly2xml Pipeline: Revert pep 8 changes
bryantgeorge Jun 18, 2019
bc7a18f
* ly2xml Pipeline: Conform to pep 8 again
bryantgeorge Jun 19, 2019
bdd7faf
Merge branch 'update-tests' into 'stable'
bryantgeorge Jun 19, 2019
c9bf823
* ly2xml Music: Only show necessary accidentals
bryantgeorge Jun 19, 2019
d0c993e
* ly2xml Tests: Add and fix accidental tests
bryantgeorge Jun 19, 2019
42df04e
* ly2xml Music: Improve documentation
bryantgeorge Jun 20, 2019
c38429d
Merge branch '4-don-t-show-accidentals-that-are-in-the-key-signature-…
bryantgeorge Jun 20, 2019
48bc937
* ly2xml Chords: Support chord symbols above notes
bryantgeorge Jun 21, 2019
66d82af
* ly2xml Tests: Add chord test and fix barline test
bryantgeorge Jun 21, 2019
480e83c
* ly2xml: Add proper xml chord names
bryantgeorge Jun 25, 2019
2d745ce
Merge branch '13-chords-show-chord-symbols' into 'stable'
bryantgeorge Jun 25, 2019
56bcbb3
Resolve "Chords and Part Separators: Display barlines and chords corr…
bryantgeorge Jul 8, 2019
2642464
Merge branch '14-chords-and-part-separators-display-barlines-and-chor…
bryantgeorge Jul 8, 2019
343cbfc
* ly2xml Staves: Fix piano staff note placement
bryantgeorge Jul 8, 2019
c350da4
* ly2xml Tests: Add and fix tests
bryantgeorge Jul 8, 2019
32deb19
Merge branch '15-render-piano-staff-element-correctly' into 'stable'
bryantgeorge Jul 9, 2019
7c91fc3
* ly2xml Lyrics: Support voice switch and slur on off
bryantgeorge Jul 9, 2019
81ae896
* ly2xml Tests: Add lyric switch test
bryantgeorge Jul 9, 2019
18f28ba
* ly2xml Lyrics: Fix misc bugs
bryantgeorge Jul 9, 2019
23431a2
* ly2xml Skips: Fix skips over bars bug
bryantgeorge Jul 10, 2019
b3b44cf
* ly2xml Bars: Fix multiple bars in a row bug
bryantgeorge Jul 10, 2019
2d36302
* ly2xml Ties: Fix multiple ties on chord bug
bryantgeorge Jul 10, 2019
092e9e7
* ly2xml Skips: Remove broken skip remainder
bryantgeorge Jul 10, 2019
888b198
* ly2xml Lyrics: Add documentation
bryantgeorge Jul 10, 2019
ccb0a53
Merge branch '16-support-switching-voices-in-lyric-placement' into 's…
bryantgeorge Jul 10, 2019
50057f7
* ly2xml Chords: Support mid note chord symbols
bryantgeorge Jul 10, 2019
4680e48
* ly2xml Tests: Improve chord symbol test rigor
bryantgeorge Jul 10, 2019
6f909f3
- ly2xml Skips: Allow pickup and next meas skip
bryantgeorge Jul 11, 2019
ded6678
* ly2xml Tests: Improve barlines test rigor
bryantgeorge Jul 11, 2019
3c995e9
* ly2xml Beams: Support explicit beams
bryantgeorge Jul 11, 2019
d0e7f8d
* ly2xml Tests: Add beams test
bryantgeorge Jul 11, 2019
8990a5b
Merge branch '17-fix-bugs-with-existing-features' into 'stable'
bryantgeorge Jul 12, 2019
4f651e3
Merge branch '19-support-explicit-beams' into 'stable'
bryantgeorge Jul 17, 2019
63eb4f7
Merge branch '18-support-chord-symbols-beginning-after-start-of-note'…
bryantgeorge Jul 17, 2019
ae245db
* ly2xml Tuplets: Give tuplet notes correct lengths
bryantgeorge Jul 18, 2019
20237af
* ly2xml Tests: Improve tuplet test rigor
bryantgeorge Jul 18, 2019
040cbf4
* ly2xml Tuplets: Improve code organization
bryantgeorge Jul 18, 2019
ee99d91
* ly2xml Tests: Revise test xml
bryantgeorge Jul 18, 2019
433a632
Merge branch '21-assign-tuplet-notes-correct-lengths' into 'stable'
bryantgeorge Jul 18, 2019
a164cf0
* ly2xml: Support transpose element
bryantgeorge Aug 1, 2019
55799be
* Tests: Add transpose test files
bryantgeorge Aug 1, 2019
8a175bc
Merge branch '22-support-transpose-element' into 'stable'
bryantgeorge Aug 6, 2019
3728919
* ly2xml Skips: Support skips over barlines fully
bryantgeorge Aug 6, 2019
0138884
* ly2xml Tests: Add skips test files
bryantgeorge Aug 6, 2019
3a60a82
* ly2xml Beams: Store previous notes
bryantgeorge Aug 8, 2019
4104908
* ly2xml Beams: Support automatic beaming
bryantgeorge Aug 8, 2019
739ccc9
* ly2xml Tests: Overhaul beams test files
bryantgeorge Aug 8, 2019
98da62a
* ly2xml Tests: Fix test files with beams
bryantgeorge Aug 8, 2019
da1348a
- ly2xml Style: Fix style mistake
bryantgeorge Aug 8, 2019
359141f
* ly2xml Beams: Fix nobeam bug
bryantgeorge Aug 8, 2019
79c54da
* ly2xml Beams: Support all python 3 versions
bryantgeorge Aug 8, 2019
3738fa9
Merge branch '23-support-skips-over-special-barlines' into 'stable'
bryantgeorge Aug 9, 2019
21b0019
* ly2xml Beams: Resolve merge conflict
bryantgeorge Aug 9, 2019
f8dcd29
* ly2xml Beams: Support end of bar beam ends
bryantgeorge Aug 9, 2019
73f69e0
* ly2xml Beams: Do not end explicit beams
bryantgeorge Aug 9, 2019
deaaebd
* ly2xml Tests: Test for beat structure edge cases
bryantgeorge Aug 9, 2019
6e3e447
* ly2xml Lyrics: Support scheme boolean
bryantgeorge Aug 13, 2019
408ccca
* ly2xml Lyrics: Support voices with voice sep
bryantgeorge Aug 13, 2019
7250213
* ly2xml Lyrics: Mark phrasing slurs
bryantgeorge Aug 13, 2019
a88a7f3
* ly2xml Lyrics: Support set commands in lyrics
bryantgeorge Aug 13, 2019
20a023d
* ly2xml Tests: Improve lyric tests rigor
bryantgeorge Aug 13, 2019
74f4456
* ly2xml Tests: Create new beams test file
bryantgeorge Aug 13, 2019
16c477c
* ly2xml Beams: Reduce code repetition
bryantgeorge Aug 13, 2019
e413d3c
* ly2xml Lyrics: Improve readability
bryantgeorge Aug 14, 2019
77be071
Merge branch '27-correctly-support-lyric-set-commands-2' into 26-supp…
bryantgeorge Aug 14, 2019
513b7d3
Merge branch '26-support-automatic-beaming' into stable
bryantgeorge Aug 14, 2019
80add98
* ly2xml Signatures: Support dorian and cut time
bryantgeorge Aug 15, 2019
653076c
* ly2xml Chords: Support q chord copy
bryantgeorge Aug 15, 2019
0b80569
* ly2xml Lyrics: Prevent nested lyric failure
bryantgeorge Aug 15, 2019
fc2cf51
- ly2xml Signatures: Stop numeric sig at staff
bryantgeorge Aug 15, 2019
3db874f
* ly2xml Tests: Add q and signature tests
bryantgeorge Aug 15, 2019
f9cc336
* ly2xml Tests: Fix tests which had numeric sigs
bryantgeorge Aug 15, 2019
e0cd76c
* ly2xml Tests: Continue fixing tests
bryantgeorge Aug 15, 2019
48cb74c
* ly2xml Copies: Keep only needed accidentals
bryantgeorge Aug 16, 2019
8959aa1
* ly2xml Beams: Avoid beaming quarter tuplets
bryantgeorge Aug 16, 2019
a37e65a
* ly2xml Chords: Beam chord copies
bryantgeorge Aug 16, 2019
1b6d241
* ly2xml Chords: Copy dots properly
bryantgeorge Aug 16, 2019
906efa1
* ly2xml Divs: Properly update divs
bryantgeorge Aug 16, 2019
7f53aea
* ly2xml Tests: Fix tuplet and chord copy tests
bryantgeorge Aug 16, 2019
f0aa4f9
* ly2xml Signatures: Increase code specificity
bryantgeorge Aug 16, 2019
6c17a2f
Merge branch '28-fix-miscellaneous-small-issues' into 'stable'
bryantgeorge Aug 16, 2019
35f9d20
Update README.rst
bryantgeorge Aug 19, 2019
24e8984
* ly2xml Repeats: Support unfold alternatives
bryantgeorge Aug 21, 2019
c7ca6d9
* ly2xml Tests: Add unfold test
bryantgeorge Aug 21, 2019
7632775
* ly2xml Repeats: Reformat attributes
bryantgeorge Aug 21, 2019
5f907f6
- ly2xml Repeats: Use repeats not repeat
bryantgeorge Aug 21, 2019
1fbc455
* ly2xml Repeats: Update attributes from prev parts
bryantgeorge Aug 21, 2019
a18d7f2
* ly2xml Repeats: Remove unnecessary changes
bryantgeorge Aug 22, 2019
433d9ad
* ly2xml Repeats: Support volta
bryantgeorge Aug 21, 2019
0b7012d
* ly2xml Tests: Add volta test
bryantgeorge Aug 21, 2019
0b5732c
* ly2xml Repeats: Tweak repeat and barline placement
bryantgeorge Aug 22, 2019
24716e8
- ly2xml Standards: Add space before comment
bryantgeorge Aug 22, 2019
3c95d23
* ly2xml Tests: Remove extra barline in xml
bryantgeorge Aug 22, 2019
5925dd3
* ly2xml Repeats: Improve readability
bryantgeorge Aug 22, 2019
391e34e
- ly2xml Style: Remove indent
bryantgeorge Aug 22, 2019
5f0197f
- ly2xml Documentation: Clarify word part
bryantgeorge Aug 23, 2019
4b8038b
Merge branch '33-support-volta-2' into '32-restructure-attributes-2'
bryantgeorge Aug 23, 2019
0e9f5a7
Merge branch '32-restructure-attributes-2' into 'stable'
bryantgeorge Aug 23, 2019
2c206b5
- ly2xml Tests: Remove instance of accidental bug
bryantgeorge Aug 26, 2019
786940a
Merge branch '34-support-unfold' into 'stable'
bryantgeorge Aug 26, 2019
6b51226
* ly2xml Repeats: Support tremolo repeats
bryantgeorge Aug 26, 2019
92864ad
* ly2xml Tests: Add tremolo test
bryantgeorge Aug 26, 2019
5a1c7da
* ly2xml Skips: Support long skips mid measure
bryantgeorge Aug 26, 2019
c62d4b6
* ly2xml Tests: Add second skips test
bryantgeorge Aug 26, 2019
d656855
* ly2xml Barlines: Generate bar and time locations before
bryantgeorge Aug 27, 2019
665e606
* ly2xml Tests: Add and fix barline related tests
bryantgeorge Aug 27, 2019
3fc027a
- ly2xml Repeats: Use correct duration index
bryantgeorge Aug 28, 2019
5b35a08
* README: Include CUT
bryantgeorge Aug 28, 2019
72d9dec
Merge branch '30-support-tremolo-repeats' into 'stable'
bryantgeorge Aug 28, 2019
2850cde
* ly2xml Barlines: Update after skips and voice seps
bryantgeorge Aug 28, 2019
1716652
Merge branch '31-fix-skips-mid-measure' into 'stable'
bryantgeorge Sep 4, 2019
72dd008
* ly2xml Barlines: Create list not iterator
bryantgeorge Sep 4, 2019
6d7c3a0
* ly2xml Barlines: Ignore grace notes for barlines
bryantgeorge Sep 4, 2019
0bd87db
* ly2xml Barlines: Create iterator twice
bryantgeorge Sep 4, 2019
491b318
Merge branch '32-support-special-barlines-in-latter-part' into 'stable'
bryantgeorge Sep 5, 2019
f3a1331
* ly2xml Repeats: Support lyrics in volta repeats
bryantgeorge Sep 5, 2019
203183e
* ly2xml Staves: Fix new voices in piano staff
bryantgeorge Sep 5, 2019
9b0ecb7
* ly2xml Tests: Add relevant tests
bryantgeorge Sep 5, 2019
c6f4877
* CI: Test in multiple version of python
earboxer Sep 9, 2019
3673874
Merge branch '35-multitest-and-coverage' into 'stable'
earboxer Sep 9, 2019
3e74e14
* Gitlab CI: Save coverage for stable branch
earboxer Sep 11, 2019
6d2358c
Merge branch '34-support-lyrics-within-volta-repeat' into 'stable'
bryantgeorge Sep 12, 2019
257d0a2
* ly2xml Headers: Allow multiple headers
bryantgeorge Sep 19, 2019
d8af914
* ly2xml Tests: Add headers test
bryantgeorge Sep 19, 2019
22130ce
Revert "* ly2xml Tests: Add headers test"
bryantgeorge Sep 23, 2019
05e944c
Revert "* ly2xml Headers: Allow multiple headers"
bryantgeorge Sep 23, 2019
4d3c695
* ly2xml Header: Prevent nondeterminism from python vers
bryantgeorge Sep 24, 2019
698310a
Merge branch '36-allow-multiple-headers' into 'stable'
bryantgeorge Sep 26, 2019
2cff3a4
* ly2xml: Support slur and tie styles
bryantgeorge Oct 29, 2019
70d6721
* ly2xml: Improve voice management
bryantgeorge Oct 29, 2019
278c8a0
* Tests: Add slur and voice tests
bryantgeorge Oct 29, 2019
817695a
- ly2xml: Clean up style
bryantgeorge Oct 29, 2019
5b9bc71
Merge branch '37-fix-assorted-voice-bugs' into 'stable'
bryantgeorge Oct 31, 2019
b61ea75
- Tests: Fix dictionary test failure
bryantgeorge Oct 31, 2019
e362223
- Tests: Remove accidental whitespace
bryantgeorge Oct 31, 2019
7d3a8f1
* ly2xml: Support accidentals between voices
bryantgeorge Oct 31, 2019
1d9f82d
* Tests: Add accidentals test two
bryantgeorge Oct 31, 2019
3f0d415
- Tests: Fix dict nondeterminism
bryantgeorge Oct 31, 2019
0cf841b
- ly2xml: Clarify ly to xml octave conversion
bryantgeorge Nov 4, 2019
1b6c8be
Merge branch '33-fix-accidentals-in-multiple-voices' into 'stable'
bryantgeorge Nov 4, 2019
28bd5cd
* Tests: Insert dictionary elements
bryantgeorge Nov 4, 2019
899002e
- ly2xml: Change slur attribute order
bryantgeorge Nov 5, 2019
2839526
* Tests: Add python 3.8 test
bryantgeorge Nov 5, 2019
9ffe479
Merge branch 'fix-random-test-failure' into 'stable'
bryantgeorge Nov 5, 2019
f7e5e28
* ly2xml: Skip barlines which occur during notes
bryantgeorge Nov 12, 2019
dd8cec7
- ly2xml: When lyric voice not given use none
bryantgeorge Nov 12, 2019
8a3e4dd
* Tests: Add third barlines test
bryantgeorge Nov 12, 2019
531e338
* ly2xml Headers: Allow multiple headers
bryantgeorge Nov 12, 2019
1c5225a
* ly2xml Tests: Add headers test
bryantgeorge Nov 12, 2019
2a0e9ff
Merge branch '38-skip-barlines-during-notes' into 'stable'
bryantgeorge Nov 14, 2019
b889551
- ly2xml: Fix chord copy staff and attribute error
bryantgeorge Nov 14, 2019
f7f10ac
* ly2xml Tests: Add third piano staff test
bryantgeorge Nov 18, 2019
3a1cd27
- ly2xml: Fix missing has attribute
bryantgeorge Nov 19, 2019
574ff39
Merge branch 'minor-bug-fixes' into 'stable'
bryantgeorge Nov 21, 2019
f2f50a7
* ly2xml: Output warnings to stderr
bryantgeorge Nov 21, 2019
0bb1aa6
- ly2xml: Add blank line for style
bryantgeorge Nov 21, 2019
620882f
* ly2xml Breaks: Support manual line breaks
bryantgeorge Nov 21, 2019
fd2de6a
* ly2xml Tests: Add breaks test
bryantgeorge Nov 21, 2019
9a58ede
Merge branch '39-support-system-breaks-when-they-are-given' into 'sta…
bryantgeorge Nov 25, 2019
b4a3e78
Merge branch 'output-warnings-to-stderr' into 'stable'
bryantgeorge Nov 25, 2019
94e58ac
* ly2xml: Ensure all files have eprint
bryantgeorge Nov 26, 2019
7b95538
Merge branch 'output-warnings-to-stderr' into stable
bryantgeorge Nov 26, 2019
cc92611
* ly2xml Grace: Handle all grace note styles
bryantgeorge Dec 5, 2019
6b34b79
* ly2xml Tests: Add grace test
bryantgeorge Dec 5, 2019
5e9fe70
* ly2xml Tests: Fix slur number
bryantgeorge Dec 5, 2019
8eac07c
Merge branch '41-fix-acciaccatura' into 'stable'
bryantgeorge Dec 9, 2019
e863050
* ly2xml Lyrics: Allow multiple words on one note
bryantgeorge Dec 9, 2019
7beb58d
* ly2xml Tests: Add new lyrics test
bryantgeorge Dec 9, 2019
386ceba
* ly2xml Lyrics: Fix empty part lyrics bug
bryantgeorge Dec 9, 2019
9a0ad8b
* ly2xml Tests: Add empty part test
bryantgeorge Dec 17, 2019
019e684
* ly2xml Breathe: Support breathe marks
bryantgeorge Dec 17, 2019
04e2f2a
* ly2xml Tests: Add breath mark test
bryantgeorge Dec 17, 2019
3e1444e
* ly2xml Lyrics: Flag text fails with error and comment
bryantgeorge Dec 17, 2019
b9a0d1a
Merge branch '44-fix-bug-caused-by-empty-alto-part' into 'stable'
bryantgeorge Dec 17, 2019
ef75a72
* ly2xml Header: Support subtitle
bryantgeorge Dec 17, 2019
5f2b8eb
* ly2xml Tests: Add subtitle test
bryantgeorge Dec 17, 2019
17af949
Apply suggestion to ly/musicxml/create_musicxml.py
bryantgeorge Dec 17, 2019
4285500
Merge branch '46-support-subtitles' into 'stable'
bryantgeorge Dec 17, 2019
08217e3
Merge branch '43-support-multiple-lyrics-on-same-note' into 'stable'
bryantgeorge Dec 17, 2019
7807398
Merge branch '45-support-breath-marks' into 'stable'
bryantgeorge Dec 18, 2019
9f42834
* ly2xml Ties: Handle ties from chords
bryantgeorge Dec 18, 2019
e711c3e
* ly2xml Tests: Add chord ties test
bryantgeorge Dec 18, 2019
7ac1aed
* ly2xml Time: Allow manual measure length set
bryantgeorge Dec 18, 2019
eeed8c4
* ly2xml Tests: Add measure length test
bryantgeorge Dec 18, 2019
600260a
* ly2xml Ties: Improve documentation
bryantgeorge Dec 19, 2019
16eaba9
Merge branch '42-support-manual-measure-length-set' into 'stable'
bryantgeorge Dec 19, 2019
a9977c0
Merge branch '47-handle-ties-from-chords' into 'stable'
bryantgeorge Dec 19, 2019
539534f
* ly2xml Lyrics: Support italic lyrics
bryantgeorge Dec 20, 2019
456630f
* ly2xml Tests: Add italics test
bryantgeorge Dec 20, 2019
a609a54
* ly2xml Lyrics: Fix rest glyph bug
bryantgeorge Dec 20, 2019
ef75d1c
Merge branch '49-support-italic-lyrics' into 'stable'
bryantgeorge Jan 6, 2020
e02dbba
Merge branch 'stable' into '50-fix-lyric-error-reporting-bug'
bryantgeorge Jan 6, 2020
5a597c7
Merge branch '50-fix-lyric-error-reporting-bug' into 'stable'
bryantgeorge Jan 6, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions .gitlab-ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
.test_template: &test_definition
stage: test
tags:
- docker
script:
- pip3 install -r requirements.txt
- pip3 install -r dev-only-reqs.txt
- pycodestyle --ignore=E501,W503,E121,E123,E126,E133,E226,E241,E242,E704 .
- pytest tests --cov=ly --cov-report term --cov-report html

test_python3.5:
image: python:3.5
<<: *test_definition
test_python3.6:
image: python:3.6
<<: *test_definition
test_python3.7:
image: python:3.7
<<: *test_definition
test_python3.8:
image: python:3.8
<<: *test_definition

test:
image: python
<<: *test_definition
artifacts:
paths:
- htmlcov/
expire_in: 1 day

docs:
stage: deploy
tags:
- static-server
dependencies:
- test
script:
- rm -rf ~/coverage/htdocs/python-ly
- mv htmlcov/ ~/coverage/htdocs/python-ly
only:
- stable
20 changes: 19 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ This will behave like running the `ly` command when the package is installed.
The `ly` Python module
----------------------

The `ly` module supports both Python2 and Python3. This is a short description
The `ly` module supports only Python3. This is a short description
of some modules:

* ``ly.slexer``: generic tools to build parsers using regular expressions
Expand All @@ -72,3 +72,21 @@ by typing ``make html`` in the doc directory.

You can also read the docs online at http://python-ly.readthedocs.org/.

`Core Understanding Test (CUT)`_
--------------------------------

.. _Core Understanding Test (CUT): //gitlab.ccel.org/drupal/shared-modules/wikis
/Core-Understanding-Test

- When should branches be merged to ``master``, ``ccel-specific``,
and ``stable`` respectively?
- If you were going to be a developer for python-ly's ``ly2xml`` conversion,
where would be a good directory of test files to use in order to become
familiar with ``Lilypond`` and ``MusicXML``?
- What software should you use to render ``Lilypond`` and ``MusicXML`` files,
respectively?
- Within the ``/ly/musicxml`` directory, what is the general flow of control
between files?
- What are two important differences and one similarity between ``Lilypond`` and
``MusicXML`` files?

4 changes: 4 additions & 0 deletions dev-only-reqs.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
coverage==4.5.4
pycodestyle==2.5.0
pytest==5.1.2
pytest-cov==2.7.1
Loading