Skip to content

Commit a0be9cc

Browse files
committed
Adopt latest arduino_ci version with new env vars
1 parent ed699a2 commit a0be9cc

File tree

3 files changed

+27
-6
lines changed

3 files changed

+27
-6
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
99
### Added
1010
- Publish docker image to GitHub packages on `latest` branch and after tagging
1111
- Instructions for testing locally with Docker
12+
- Adopt new `arduino_ci` version that enables `CUSTOM_INIT_SCRIPT` and `USE_SUBDIR` environment variables
1213

1314
### Changed
1415

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ ARG BUILD_VERSION
77

88
# Values we set in more than one place in this file
99
ARG ARDUINO_CI_REPO="https://github.com/ArduinoCI/action"
10-
ARG ARDUINO_CI_MAINTAINER="Ian <ianfixes@gmail.com>"
11-
ARG ARDUINO_CLI_GITREF="tag: 'v1.1.0'"
12-
#ARG ARDUINO_CLI_GITREF="branch: '2020-12-01_fixes'"
10+
ARG ARDUINO_CI_MAINTAINER="Arduino Continuous Integration <arduino.continuous.integration@gmail.com>"
11+
#ARG ARDUINO_CLI_GITREF="tag: 'v1.1.0'"
12+
ARG ARDUINO_CLI_GITREF="branch: '2020-12-28_wrapup'"
1313

1414
LABEL com.github.actions.name="Arduino CI" \
1515
com.github.actions.description="Unit testing and example compilation for Arduino libraries" \
@@ -50,7 +50,7 @@ RUN true \
5050
RUN true \
5151
&& mkdir -p /action/bundle \
5252
&& echo "source 'https://rubygems.org'" > $BUNDLE_GEMFILE \
53-
&& echo "gem 'arduino_ci', git: 'https://github.com/Arduino-CI/arduino_ci.git', $ARDUINO_CLI_GITREF" >> $BUNDLE_GEMFILE \
53+
&& echo "gem 'arduino_ci', git: 'https://github.com/ianfixes/arduino_ci.git', $ARDUINO_CLI_GITREF" >> $BUNDLE_GEMFILE \
5454
&& cat $BUNDLE_GEMFILE \
5555
&& bundle install --gemfile /action/Gemfile --path /action/bundle \
5656
&& find /action |grep arduino_ci.rb

README.md

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,29 @@ jobs:
4646
# If you'd rather have the test runner fail the test in the
4747
# absence of either tests or examples, uncommenting either of
4848
# the following lines (as appropriate) will enforce that.
49+
#
50+
EXPECT_EXAMPLES: false
51+
EXPECT_UNITTESTS: false
4952

50-
# EXPECT_EXAMPLES: true
51-
# EXPECT_UNITTESTS: true
53+
# Not all libraries are in the root direcotry of a repository.
54+
# Specifying the path of the library here (relative to the root
55+
# of the repository) will adjust that.
56+
#
57+
# The default is the current directory
58+
#
59+
# USE_SUBDIR: .
60+
61+
# Although dependencies will be installed automatically via the
62+
# library manager, your library under test may require an
63+
# unofficial version of a dependency. In those cases, the custom
64+
# libraries must be insalled prior to the test execution; those
65+
# installation commands should be placed in a shell script (that
66+
# will be executed by /bin/sh) and the shell script in your repo.
67+
#
68+
# Then, set this variable to the path to that file (relative to
69+
# the repository root)
70+
#
71+
# CUSTOM_INIT_SCRIPT: install_dependencies.sh
5272
```
5373

5474
### Status Badges

0 commit comments

Comments
 (0)