-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
73fc7cf
commit 42c5f5a
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,6 +51,13 @@ jobs: | |
runCmd: cd server ; mvn --batch-mode --update-snapshots -DskipTests package | ||
- run: mkdir staging && cp target/*.jar staging | ||
working-directory: server | ||
- name: Cache local Maven repository | ||
uses: actions/cache@v4 | ||
with: | ||
path: ~/.m2/repository | ||
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} | ||
restore-keys: | | ||
${{ runner.os }}-maven- | ||
- name: Upload snapshot as artifact | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
|
@@ -110,3 +117,18 @@ jobs: | |
cacheFrom: ${{ needs.build-devcontainer.outputs.imageName }} | ||
push: never | ||
runCmd: cd server; mvn --batch-mode --update-snapshots verify | ||
|
||
test-client: | ||
runs-on: ubuntu-latest | ||
needs: artifact | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: build client | ||
uses: devcontainers/[email protected] | ||
with: | ||
imageName: ${{ needs.build-devcontainer.outputs.imageName }} | ||
cacheFrom: ${{ needs.build-devcontainer.outputs.imageName }} | ||
push: never | ||
runCmd: cd client; make build | ||
#TODO: start the server | ||
#TODO: run the client tests |