NEW. Added abjad.AfterGraceContainer.fraction property. #463
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: abjad | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.10", "3.11", "3.12"] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Log environment variable(s) | |
run: | | |
python --version | |
python -m pip install --upgrade pip coverage | |
echo HOME: | |
echo $HOME | |
echo GITHUB_WORKSPACE: | |
echo $GITHUB_WORKSPACE | |
echo PATH: | |
echo $PATH | |
echo PYTHONPATH: | |
echo $PYTHONPATH | |
- name: Install LilyPond | |
run: | | |
lilypond_version=2.25.3 | |
lilypond_archive=lilypond-${lilypond_version}-linux-x86_64.tar.gz | |
lilypond_url=https://gitlab.com/lilypond/lilypond/-/releases/ | |
lilypond_url=${lilypond_url}/v${lilypond_version}/downloads/${lilypond_archive} | |
echo ${lilypond_url} | |
cd /tmp | |
wget -q ${lilypond_url} | |
tar -xf ${lilypond_archive} | |
- name: Install Abjad | |
run: | | |
export PATH=/tmp/lilypond-2.25.3/bin:/home/runner/bin:$PATH | |
export PYTHONUNBUFFERED=TRUE | |
pip install -e .[dev] | |
# echo the configuration file path to debug read-only-filesystem handling | |
python -c "import abjad; print(abjad.Configuration().configuration_file_path)" | |
scr/prime-parser-tables | |
black --version | |
flake8 --version | |
isort --version | |
mypy --version | |
pip --version | |
pytest --version | |
lilypond --version | |
- name: Run checks and tests | |
run: | | |
export PATH=/tmp/lilypond-2.25.3/bin:/home/runner/bin:$PATH | |
export PYTHONUNBUFFERED=TRUE | |
make black-check | |
make flake8 | |
make isort-check | |
make mypy | |
make pytest |