-
Notifications
You must be signed in to change notification settings - Fork 29
Test harness and integration tests #138
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
Open
sastraxi
wants to merge
14
commits into
TreeFallSound:pistomp-v3
Choose a base branch
from
sastraxi:test/initial
base: pistomp-v3
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
8d74c3e
Initial test harness and integration tests
sastraxi 7d17609
v3 integration tests
sastraxi 4070682
102 tests split and working
sastraxi f703784
Fix font rendering
sastraxi 917a542
Add test running section
sastraxi 4c24812
Convert SystemFixture from NamedTuple to dataclass
sastraxi 1fae5dc
Replace positional SystemFixture unpacks with attribute access
sastraxi 4f42645
Move fonts and update license
sastraxi 4d59489
Merge branch 'fix/pillow-compat' into test/initial
sastraxi e53a15f
Merge branch 'fix/pillow-compat' into test/initial
sastraxi 3aaae26
Merge branch 'pistomp-v3' into test/initial
sastraxi 36510e5
Simplify test section
sastraxi 41bf8dd
Fix tsts
sastraxi ed9781f
Backport LCD splash to LcdBase
sastraxi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| name: Tests | ||
|
|
||
| on: | ||
| push: | ||
| branches: [pistomp-v3] | ||
| pull_request: | ||
|
|
||
| jobs: | ||
| test: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v6 | ||
|
|
||
| - name: Install uv | ||
| uses: astral-sh/setup-uv@v8.1.0 | ||
|
|
||
| - name: Set up Python | ||
| run: uv python install | ||
|
|
||
| - name: Install system dependencies | ||
| run: sudo apt-get update && sudo apt-get install -y build-essential libasound2-dev libjack-dev pkg-config | ||
|
|
||
| - name: Install dependencies | ||
| run: uv sync --group dev | ||
|
|
||
| - name: Run tests | ||
| run: uv run pytest | ||
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,3 +2,4 @@ | |
| __pycache__ | ||
| *~ | ||
| .DS_Store | ||
| .coverage | ||
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| GUIDE.md |
This file contains hidden or 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
This file contains hidden or 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
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,187 @@ | ||
| Fonts are (c) Bitstream (see below). DejaVu changes are in public domain. | ||
| Glyphs imported from Arev fonts are (c) Tavmjong Bah (see below) | ||
|
|
||
|
|
||
| Bitstream Vera Fonts Copyright | ||
| ------------------------------ | ||
|
|
||
| Copyright (c) 2003 by Bitstream, Inc. All Rights Reserved. Bitstream Vera is | ||
| a trademark of Bitstream, Inc. | ||
|
|
||
| Permission is hereby granted, free of charge, to any person obtaining a copy | ||
| of the fonts accompanying this license ("Fonts") and associated | ||
| documentation files (the "Font Software"), to reproduce and distribute the | ||
| Font Software, including without limitation the rights to use, copy, merge, | ||
| publish, distribute, and/or sell copies of the Font Software, and to permit | ||
| persons to whom the Font Software is furnished to do so, subject to the | ||
| following conditions: | ||
|
|
||
| The above copyright and trademark notices and this permission notice shall | ||
| be included in all copies of one or more of the Font Software typefaces. | ||
|
|
||
| The Font Software may be modified, altered, or added to, and in particular | ||
| the designs of glyphs or characters in the Fonts may be modified and | ||
| additional glyphs or characters may be added to the Fonts, only if the fonts | ||
| are renamed to names not containing either the words "Bitstream" or the word | ||
| "Vera". | ||
|
|
||
| This License becomes null and void to the extent applicable to Fonts or Font | ||
| Software that has been modified and is distributed under the "Bitstream | ||
| Vera" names. | ||
|
|
||
| The Font Software may be sold as part of a larger software package but no | ||
| copy of one or more of the Font Software typefaces may be sold by itself. | ||
|
|
||
| THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS | ||
| OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, | ||
| FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, | ||
| TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL BITSTREAM OR THE GNOME | ||
| FOUNDATION BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING | ||
| ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, | ||
| WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF | ||
| THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE | ||
| FONT SOFTWARE. | ||
|
|
||
| Except as contained in this notice, the names of Gnome, the Gnome | ||
| Foundation, and Bitstream Inc., shall not be used in advertising or | ||
| otherwise to promote the sale, use or other dealings in this Font Software | ||
| without prior written authorization from the Gnome Foundation or Bitstream | ||
| Inc., respectively. For further information, contact: fonts at gnome dot | ||
| org. | ||
|
|
||
| Arev Fonts Copyright | ||
| ------------------------------ | ||
|
|
||
| Copyright (c) 2006 by Tavmjong Bah. All Rights Reserved. | ||
|
|
||
| Permission is hereby granted, free of charge, to any person obtaining | ||
| a copy of the fonts accompanying this license ("Fonts") and | ||
| associated documentation files (the "Font Software"), to reproduce | ||
| and distribute the modifications to the Bitstream Vera Font Software, | ||
| including without limitation the rights to use, copy, merge, publish, | ||
| distribute, and/or sell copies of the Font Software, and to permit | ||
| persons to whom the Font Software is furnished to do so, subject to | ||
| the following conditions: | ||
|
|
||
| The above copyright and trademark notices and this permission notice | ||
| shall be included in all copies of one or more of the Font Software | ||
| typefaces. | ||
|
|
||
| The Font Software may be modified, altered, or added to, and in | ||
| particular the designs of glyphs or characters in the Fonts may be | ||
| modified and additional glyphs or characters may be added to the | ||
| Fonts, only if the fonts are renamed to names not containing either | ||
| the words "Tavmjong Bah" or the word "Arev". | ||
|
|
||
| This License becomes null and void to the extent applicable to Fonts | ||
| or Font Software that has been modified and is distributed under the | ||
| "Tavmjong Bah Arev" names. | ||
|
|
||
| The Font Software may be sold as part of a larger software package but | ||
| no copy of one or more of the Font Software typefaces may be sold by | ||
| itself. | ||
|
|
||
| THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
| EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF | ||
| MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT | ||
| OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL | ||
| TAVMJONG BAH BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, | ||
| INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL | ||
| DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | ||
| FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM | ||
| OTHER DEALINGS IN THE FONT SOFTWARE. | ||
|
|
||
| Except as contained in this notice, the name of Tavmjong Bah shall not | ||
| be used in advertising or otherwise to promote the sale, use or other | ||
| dealings in this Font Software without prior written authorization | ||
| from Tavmjong Bah. For further information, contact: tavmjong @ free | ||
| . fr. | ||
|
|
||
| TeX Gyre DJV Math | ||
| ----------------- | ||
| Fonts are (c) Bitstream (see below). DejaVu changes are in public domain. | ||
|
|
||
| Math extensions done by B. Jackowski, P. Strzelczyk and P. Pianowski | ||
| (on behalf of TeX users groups) are in public domain. | ||
|
|
||
| Letters imported from Euler Fraktur from AMSfonts are (c) American | ||
| Mathematical Society (see below). | ||
| Bitstream Vera Fonts Copyright | ||
| Copyright (c) 2003 by Bitstream, Inc. All Rights Reserved. Bitstream Vera | ||
| is a trademark of Bitstream, Inc. | ||
|
|
||
| Permission is hereby granted, free of charge, to any person obtaining a copy | ||
| of the fonts accompanying this license (“Fonts”) and associated | ||
| documentation | ||
| files (the “Font Software”), to reproduce and distribute the Font Software, | ||
| including without limitation the rights to use, copy, merge, publish, | ||
| distribute, | ||
| and/or sell copies of the Font Software, and to permit persons to whom | ||
| the Font Software is furnished to do so, subject to the following | ||
| conditions: | ||
|
|
||
| The above copyright and trademark notices and this permission notice | ||
| shall be | ||
| included in all copies of one or more of the Font Software typefaces. | ||
|
|
||
| The Font Software may be modified, altered, or added to, and in particular | ||
| the designs of glyphs or characters in the Fonts may be modified and | ||
| additional | ||
| glyphs or characters may be added to the Fonts, only if the fonts are | ||
| renamed | ||
| to names not containing either the words “Bitstream” or the word “Vera”. | ||
|
|
||
| This License becomes null and void to the extent applicable to Fonts or | ||
| Font Software | ||
| that has been modified and is distributed under the “Bitstream Vera” | ||
| names. | ||
|
|
||
| The Font Software may be sold as part of a larger software package but | ||
| no copy | ||
| of one or more of the Font Software typefaces may be sold by itself. | ||
|
|
||
| THE FONT SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS | ||
| OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, | ||
| FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, | ||
| TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL BITSTREAM OR THE GNOME | ||
| FOUNDATION | ||
| BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, | ||
| SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN | ||
| ACTION | ||
| OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR | ||
| INABILITY TO USE | ||
| THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE. | ||
| Except as contained in this notice, the names of GNOME, the GNOME | ||
| Foundation, | ||
| and Bitstream Inc., shall not be used in advertising or otherwise to promote | ||
| the sale, use or other dealings in this Font Software without prior written | ||
| authorization from the GNOME Foundation or Bitstream Inc., respectively. | ||
| For further information, contact: fonts at gnome dot org. | ||
|
|
||
| AMSFonts (v. 2.2) copyright | ||
|
|
||
| The PostScript Type 1 implementation of the AMSFonts produced by and | ||
| previously distributed by Blue Sky Research and Y&Y, Inc. are now freely | ||
| available for general use. This has been accomplished through the | ||
| cooperation | ||
| of a consortium of scientific publishers with Blue Sky Research and Y&Y. | ||
| Members of this consortium include: | ||
|
|
||
| Elsevier Science IBM Corporation Society for Industrial and Applied | ||
| Mathematics (SIAM) Springer-Verlag American Mathematical Society (AMS) | ||
|
|
||
| In order to assure the authenticity of these fonts, copyright will be | ||
| held by | ||
| the American Mathematical Society. This is not meant to restrict in any way | ||
| the legitimate use of the fonts, such as (but not limited to) electronic | ||
| distribution of documents containing these fonts, inclusion of these fonts | ||
| into other public domain or commercial font collections or computer | ||
| applications, use of the outline data to create derivative fonts and/or | ||
| faces, etc. However, the AMS does require that the AMS copyright notice be | ||
| removed from any derivative versions of the fonts which have been altered in | ||
| any way. In addition, to ensure the fidelity of TeX documents using Computer | ||
| Modern fonts, Professor Donald Knuth, creator of the Computer Modern faces, | ||
| has requested that any alterations which yield different font metrics be | ||
| given a different name. | ||
|
|
||
| $Id$ |
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Empty file.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.