Skip to content

Commit

Permalink
295 - adding archetype tests to git build action
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffreyRoss committed Aug 27, 2024
1 parent 1b9b805 commit 08f40b3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# separate terms of service, privacy policy, and support
# documentation.

name: Build aissemble Archetype Test
name: Build aissemble

on:
workflow_dispatch:
Expand All @@ -15,9 +15,9 @@ on:
description: "Branch you want to build"
required: true
type: string
default: "295-github-actions-build-add-archetype-tests"
default: "dev"
push:
branches: [ "295-github-actions-build-add-archetype-tests" ]
branches: [ "dev" ]

jobs:
build:
Expand Down Expand Up @@ -89,12 +89,8 @@ jobs:
run: sudo touch /etc/buildkitd.toml
# Run build with the gh-build profile
- name: Build aiSSEMBLE
#run: |
# ./mvnw -B clean install -U --file pom.xml -Pci,integration-test,gh-build
# Run archetype tests with the gh-build profile
- name: Archetype Tests
run: |
./mvnw -B clean install -Parchetype-test -pl :foundation-archetype,gh-build
./mvnw -B clean install -U --file pom.xml -Pci,integration-test,gh-build
#NB: The following two explicit cache saves are necessary to ensure caches are saved on build failure,
# until https://github.com/actions/cache/issues/1315 is resolved
- name: Save m2 repository cache
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@ jobs:
- name: Create Docker Builder Config File
run: sudo touch /etc/buildkitd.toml
# Run build with the gh-build profile
- name: Build aiSSEMBLE
#- name: Build aiSSEMBLE
#run: |
# ./mvnw -B clean install -U --file pom.xml -Pci,integration-test,gh-build
#./mvnw -B clean install -U --file pom.xml -Pci,integration-test,gh-build
# Run archetype tests with the gh-build profile
- name: Archetype Tests
run: |
Expand Down

0 comments on commit 08f40b3

Please sign in to comment.