Meta: Update makem.sh, etc.

This commit is contained in:
Adam Porter 2020-02-23 22:59:49 -06:00
parent 048de35b07
commit be696ff075
3 changed files with 35 additions and 49 deletions

View file

@ -28,8 +28,8 @@ on:
pull_request:
push:
# Comment out this section to enable testing of all branches.
# branches:
# - master
branches:
- master
jobs:
build:
@ -51,18 +51,20 @@ jobs:
run: |
SANDBOX_DIR=$(mktemp -d) || exit 1
echo ::set-env name=SANDBOX_DIR::$SANDBOX_DIR
./makem.sh -vv --sandbox-dir=$SANDBOX_DIR --install-deps --install-linters
./makem.sh -vv --sandbox=$SANDBOX_DIR --install-deps --install-linters
# The "all" rule is not used, because it treats compilation warnings
# as failures, so linting and testing are run as separate steps.
- name: Lint
continue-on-error: true
run: ./makem.sh -vv --sandbox-dir=$SANDBOX_DIR lint
# NOTE: Uncomment this line to treat lint failures as passing
# so the job doesn't show failure.
# continue-on-error: true
run: ./makem.sh -vv --sandbox=$SANDBOX_DIR lint
- name: Test
if: always() # Run test even if linting fails.
run: ./makem.sh -vv --sandbox-dir=$SANDBOX_DIR test
run: ./makem.sh -vv --sandbox=$SANDBOX_DIR test
# Local Variables:
# eval: (outline-minor-mode)