Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
arduino-cli
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Operations
Operations
Metrics
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
arduino-cli
Commits
f99361a9
Unverified
Commit
f99361a9
authored
Oct 23, 2019
by
Massimiliano Pippi
Committed by
GitHub
Oct 23, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Run tests on OSX (#451)
* run tests on osx * use latest version of the action * pass github token
parent
79cdab0b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
7 deletions
+14
-7
.github/workflows/test.yaml
.github/workflows/test.yaml
+14
-7
No files found.
.github/workflows/test.yaml
View file @
f99361a9
name
:
test
on
:
[
push
,
pull_request
]
on
:
push
:
branches
:
-
master
pull_request
:
jobs
:
test-matrix
:
strategy
:
matrix
:
operating-system
:
[
ubuntu-18.04
,
windows-2019
]
operating-system
:
[
ubuntu-18.04
,
windows-2019
,
macOS-10.14
]
runs-on
:
${{ matrix.operating-system }}
...
...
@@ -36,7 +40,9 @@ jobs:
run
:
task check
-
name
:
Install protoc compiler
uses
:
Arduino/actions/setup-protoc@master
uses
:
arduino/setup-protoc@v1.1.0
with
:
repo-token
:
${{ secrets.GITHUB_TOKEN }}
-
name
:
Check protocol buffers compile correctly
run
:
task protoc
...
...
@@ -48,7 +54,8 @@ jobs:
run
:
task test-unit
-
name
:
Run unit tests on the legacy package
if
:
matrix.operating-system != 'windows-2019'
# Run legacy tests on one platform only
if
:
matrix.operating-system == 'ubuntu-18.04'
run
:
task test-legacy
-
name
:
Install Python
...
...
@@ -68,7 +75,7 @@ jobs:
# Codecov whitelists GitHub, lifting the need
# for a token.
if
:
>
matrix.operating-system
!= 'windows-2019
' &&
matrix.operating-system
== 'ubuntu-18.04
' &&
github.event_name == 'push'
uses
:
codecov/codecov-action@v1.0.2
with
:
...
...
@@ -82,7 +89,7 @@ jobs:
# Codecov whitelists GitHub, lifting the need
# for a token.
if
:
>
matrix.operating-system
!= 'windows-2019
' &&
matrix.operating-system
== 'ubuntu-18.04
' &&
github.event_name == 'push'
uses
:
codecov/codecov-action@v1.0.2
with
:
...
...
@@ -96,7 +103,7 @@ jobs:
# Codecov whitelists GitHub, lifting the need
# for a token.
if
:
>
matrix.operating-system
!= 'windows-2019
' &&
matrix.operating-system
== 'ubuntu-18.04
' &&
github.event_name == 'push'
uses
:
codecov/codecov-action@v1.0.2
with
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment