-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Bugfixes on tests and github actions runner for Windows #10196
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
base: master
Are you sure you want to change the base?
Changes from all commits
122ad00
223a6a1
4a5e304
6cb1625
941363c
7852fc1
720b7a9
24bf3eb
a6ef343
ac3d1fe
74a66e5
5e9d0cc
ef5d316
ea25c35
1621776
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
name: Arduino IDE unit test run | ||
|
||
on: | ||
push: | ||
pull_request: | ||
|
||
jobs: | ||
test-linux: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up JDK 1.8 | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 1.8 | ||
- name: Build with Ant | ||
working-directory: ./build | ||
run: ant clean build | ||
- name: Install X virtual framebuffer | ||
run: sudo apt-get install -y xvfb | ||
- name: Run tests | ||
working-directory: ./build | ||
run: xvfb-run --auto-servernum --server-args "-screen 0 1024x768x24" ant test -Drunning-from-github-action=1 | ||
- name: Publish results | ||
if: always() | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: html-results-linux | ||
path: app/test-bin/results/html/ | ||
- name: Cleanup xvfb | ||
uses: bcomnes/cleanup-xvfb@v1 | ||
|
||
test-windows: | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Download JDK 1.8 for Windows/x86 | ||
run: curl -O "https://cdn.azul.com/zulu/bin/zulu8.46.0.19-ca-jdk8.0.252-win_i686.zip" | ||
- name: Set up JDK 1.8 | ||
uses: actions/setup-java@master | ||
with: | ||
version: 1.8 | ||
architecture: x86 | ||
jdkFile: ./zulu8.46.0.19-ca-jdk8.0.252-win_i686.zip | ||
- name: Build with Ant | ||
working-directory: ./build | ||
run: | | ||
java -version | ||
ant clean build | ||
- name: Run tests | ||
working-directory: ./build | ||
run: ant test -Drunning-from-github-action=1 | ||
- name: Publish results | ||
if: always() | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: html-results-win | ||
path: app/test-bin/results/html/ |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,14 +45,16 @@ | |
<classpathentry kind="lib" path="lib/xml-apis-1.3.04.jar"/> | ||
<classpathentry kind="lib" path="lib/xml-apis-ext-1.3.04.jar"/> | ||
<classpathentry kind="lib" path="lib/xmlgraphics-commons-2.0.jar"/> | ||
<classpathentry kind="lib" path="test-lib/junit-4.11.jar"/> | ||
<classpathentry kind="lib" path="test-lib/fest-assert-1.2.jar"/> | ||
<classpathentry kind="lib" path="test-lib/fest-reflect-1.2.jar"/> | ||
<classpathentry kind="lib" path="test-lib/fest-swing-1.2.jar"/> | ||
<classpathentry kind="lib" path="test-lib/fest-util-1.1.2.jar"/> | ||
<classpathentry kind="lib" path="test-lib/jcip-annotations-1.0.jar"/> | ||
<classpathentry kind="lib" path="lib/jtouchbar-1.0.0.jar"/> | ||
<classpathentry kind="lib" path="lib/commons-lang3-3.8.1.jar"/> | ||
<classpathentry kind="lib" path="lib/jssc-2.8.0-arduino4.jar"/> | ||
<classpathentry kind="lib" path="test-lib/assertj-swing-junit-3.9.2.jar"/> | ||
<classpathentry kind="lib" path="test-lib/assertj-core-1.7.1.jar"/> | ||
<classpathentry kind="lib" path="test-lib/assertj-swing-1.2.0.jar"/> | ||
<classpathentry kind="lib" path="test-lib/assertj-swing-junit-1.2.0.jar"/> | ||
<classpathentry kind="lib" path="test-lib/assertj-swing-junit-4.5-1.2.0.jar"/> | ||
<classpathentry kind="lib" path="test-lib/fest-util-1.2.5.jar"/> | ||
<classpathentry kind="lib" path="test-lib/junit-4.5.jar"/> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This seems to downgrade junit from 4.11 to 4.5. Is that intentional? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It's a forced dependency from Maybe it's ok to build with |
||
<classpathentry kind="output" path="bin"/> | ||
</classpath> |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
package_index.json* -text |
Uh oh!
There was an error while loading. Please reload this page.