-
Notifications
You must be signed in to change notification settings - Fork 27
Add test automation #44
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
Closed
Closed
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
05b9024
Include com.sun.tools as dependency only if Java 8
sideshowbarker a27c7b6
Set fork=true for Maven AntRun javac/java if Java8
sideshowbarker 623cea1
Fix TokenizerTester casing of PCDATA state name
sideshowbarker d419264
Exit 1 for test harness if any tests fail
sideshowbarker dd7ecfa
Drop "Success" message for test passes
sideshowbarker ebbd0c5
Add GitHub Actions build.yml to run Maven in CI
sideshowbarker 10f012a
Make HtmlInputStreamReader sniffing limit settable
sideshowbarker e8e4a25
Make EncodingTester usable in testing parsed state
sideshowbarker 196bd48
Make TokenizerTester() constructor public
sideshowbarker d4edb40
Add Html5libTest
anthonyvdotbe ef95b92
Add html5lib-tests as a submodule
sideshowbarker fcd18b1
Html5libTest: Add copyright; match project style
sideshowbarker fd2c260
Make Html5libTest only check .dat and .test files
sideshowbarker 8a48cb0
Make Html5libTest handle double-escaped tests
sideshowbarker 390d9a9
Use Paths.get rather than Path.of in Html5libTest
sideshowbarker 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
29 changes: 29 additions & 0 deletions
.github/workflows/build.yml
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,29 @@ | ||
| name: Build | ||
|
|
||
| on: [push, pull_request] | ||
|
|
||
| jobs: | ||
| build: | ||
| runs-on: ${{ matrix.os }} | ||
| strategy: | ||
| matrix: | ||
| # See http://static.azul.com/zulu/bin/ for available JDK versions. | ||
| java: [8, 11, 14, 15-ea, 16-ea] | ||
| os: [ubuntu-latest, macos-latest, windows-latest] | ||
| name: Java ${{ matrix.java }} | ||
| steps: | ||
| - uses: actions/checkout@v2 | ||
| with: | ||
| submodules: true | ||
| - name: Set up java | ||
| uses: actions/setup-java@v1 | ||
| with: | ||
| java-version: ${{ matrix.java }} | ||
| - name: Cache Maven packages | ||
| uses: actions/cache@v2 | ||
| with: | ||
| path: ~/.m2 | ||
| key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} | ||
| restore-keys: ${{ runner.os }}-m2 | ||
| - name: Build with Maven | ||
| run: mvn -B verify |
3 changes: 3 additions & 0 deletions
.gitmodules
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,3 @@ | ||
| [submodule "test-src/test/resources/html5lib-tests"] | ||
| path = test-src/test/resources/html5lib-tests | ||
| url = git@github.com:html5lib/html5lib-tests.git |
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
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.