generated from NASA-PDS/template-repo-java
-
Notifications
You must be signed in to change notification settings - Fork 2
36 lines (34 loc) · 1.13 KB
/
automated-testing.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: I&T Automated Testing
on:
push:
branches:
- 'automated-testing'
- '!main'
workflow_dispatch:
jobs:
automated-testing:
name: Registry Automated Testing
runs-on: ubuntu-latest
steps:
-
name: Checkout Repository
uses: actions/checkout@v4
-
name: ☕️ Set up OpenJDK
uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: '11'
-
name: Registry API Testing
run: |
cd $GITHUB_WORKSPACE/docker/certs
./generate-certs.sh
cd ..
# Build container
docker compose \
--ansi never --profile int-registry-batch-loader up --detach --quiet-pull
# Run tests
docker compose \
--ansi never --profile int-registry-batch-loader \
run --rm --no-TTY reg-api-integration-test-with-wait