Skip to content

Commit

Permalink
Automatically test whether running the full test suite is necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
pgrawehr committed Aug 2, 2022
1 parent 15ce5b1 commit 0fffb8e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions eng/ArduinoCsCI.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ git clone https://github.com/firmata/ConfigurableFirmata %ArduinoRootDir%\librar
git clone https://github.com/pgrawehr/ExtendedConfigurableFirmata %ArduinoRootDir%\ExtendedConfigurableFirmata
arduino-cli core install esp32:esp32

REM Check whether any compiler files have changed - if so, enable the (long running) compiler tests
git diff --name-status origin/main | find /C /I "tools/ArduinoCsCompiler"
REM Find returns 1 when the string was NOT found, we want to set the variable to true when it does find something
if not errorlevel 1 set RUN_COMPILER_TESTS=TRUE

dir %ArduinoRootDir%

%acspath% --help
Expand Down

0 comments on commit 0fffb8e

Please sign in to comment.