-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* workflows: add float-tests Signed-off-by: William Woodruff <william@trailofbits.com> * _impl: comments Signed-off-by: William Woodruff <william@trailofbits.com> * float-tests: typo Signed-off-by: William Woodruff <william@trailofbits.com> * add TODO Signed-off-by: William Woodruff <william@trailofbits.com> * fix test, update .gitignore Signed-off-by: William Woodruff <william@trailofbits.com> * float-tests: follow redirect Signed-off-by: William Woodruff <william@trailofbits.com> --------- Signed-off-by: William Woodruff <william@trailofbits.com>
- Loading branch information
Showing
4 changed files
with
47 additions
and
2 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: Full ES6 floating point tests | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
paths: | ||
- "src/rfc8785/_impl.py" | ||
|
||
jobs: | ||
test: | ||
strategy: | ||
matrix: | ||
python: | ||
- "3.10" | ||
- "3.11" | ||
- "3.12" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python }} | ||
cache: "pip" | ||
cache-dependency-path: pyproject.toml | ||
|
||
- name: download es6 test file | ||
run: | | ||
curl -L -o test/assets/es6testfile100m.txt.gz \ | ||
https://github.com/cyberphone/json-canonicalization/releases/download/es6testfile/es6testfile100m.txt.gz | ||
- name: test | ||
run: make test INSTALL_EXTRA=test |
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
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
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