Skip to content
Snippets Groups Projects

build: add test code

Merged Stefan E. Funk requested to merge develop into main
1 file
+ 18
2
Compare changes
  • Side-by-side
  • Inline
+ 18
2
@@ -49,9 +49,25 @@ prepare-release:
rules:
# Only run if branch "main" AND commit title IS NOT "1.2.3" (main commit with tag) AND DOES NOT START WITH "Prepare next development iteration" (main commit with new version)
- if: $CI_COMMIT_REF_NAME == "main" && $CI_COMMIT_TITLE !~ /^[\d\.]+$/ && $CI_COMMIT_TITLE !~ /^Prepare next development iteration/
# image: maven:3.8.3-jdk-8
# extends:
# - .prepare-semantic-release-dry-run
image: maven:3.8.3-jdk-8
extends:
- .prepare-semantic-release-dry-run
before_script:
- curl -sL https://deb.nodesource.com/setup_14.x | bash -
- apt-get install -y nodejs
- npm ci --unsafe-perm --cache .npm --prefer-offline
script:
- git config pull.rebase false
- git fetch
- git checkout develop
- git pull
- cat pom.xml
- git checkout main
- cat pom.xml
- git branch --set-upstream-to=origin/main main
- git pull
- npx semantic-release --use-conveyal-workflow --dev-branch=develop --skip-maven-deploy --disable-snapshot-skip-ci --additionalFilesToCommit CHANGELOG.md --disable-final-skip-ci --dry-run
# Build, validate, and package all the feature branches
validate-java:
Loading