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-esp32
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
arduino-esp32
Commits
0f1f947a
Unverified
Commit
0f1f947a
authored
Jul 29, 2024
by
Lucas Saavedra Vaz
Committed by
GitHub
Jul 29, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ci(tests): Fix workflow errors (#10067)
parent
b91e4537
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
1 deletion
+21
-1
.github/scripts/install-arduino-cli.sh
.github/scripts/install-arduino-cli.sh
+7
-1
.github/workflows/tests_hw.yml
.github/workflows/tests_hw.yml
+14
-0
No files found.
.github/scripts/install-arduino-cli.sh
View file @
0f1f947a
...
...
@@ -41,6 +41,12 @@ fi
if
[
!
-d
"
$ARDUINO_IDE_PATH
"
]
||
[
!
-f
"
$ARDUINO_IDE_PATH
/arduino-cli"
]
;
then
echo
"Installing Arduino CLI on
$OS_NAME
..."
mkdir
-p
"
$ARDUINO_IDE_PATH
"
if
[
"
$OS_IS_WINDOWS
"
==
"1"
]
;
then
curl
-fsSL
https://downloads.arduino.cc/arduino-cli/arduino-cli_latest_Windows_64bit.zip
-o
arduino-cli.zip
unzip
-q
arduino-cli.zip
-d
"
$ARDUINO_IDE_PATH
"
rm
arduino-cli.zip
else
curl
-fsSL
https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh |
BINDIR
=
"
$ARDUINO_IDE_PATH
"
sh
fi
fi
.github/workflows/tests_hw.yml
View file @
0f1f947a
...
...
@@ -12,6 +12,13 @@ on:
description
:
'
Chip
to
run
tests
for'
required
:
true
env
:
DEBIAN_FRONTEND
:
noninteractive
defaults
:
run
:
shell
:
bash
jobs
:
hardware-test
:
name
:
Hardware ${{ inputs.chip }} ${{ inputs.type }} tests
...
...
@@ -48,6 +55,13 @@ jobs:
-
name
:
Checkout user repository
if
:
${{ steps.check-tests.outputs.enabled == 'true' }}
uses
:
actions/checkout@v4
with
:
sparse-checkout
:
|
*
-
name
:
List files
if
:
${{ steps.check-tests.outputs.enabled == 'true' }}
run
:
ls -la
# setup-python currently only works on ubuntu images
# - uses: actions/setup-python@v5
...
...
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