FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
testcontainers-java/.github/workflows/ci-examples.yml at main · Dostoevskey/testcontainers-java · GitHub
Dostoevskey
/
testcontainers-java
Public
forked from
testcontainers/testcontainers-java
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
testcontainers-java
/
.github
/
workflows
/
ci-examples.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
75 lines (70 loc) · 2.16 KB
Breadcrumbs
testcontainers-java
/
.github
/
workflows
/
ci-examples.yml
Copy path
File metadata and controls
75 lines (70 loc) · 2.16 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
name
:
CI-Examples
on
:
pull_request
:
paths-ignore
:
-
'
docs/**
'
-
'
mkdocs.yml
'
-
'
README.md
'
-
'
RELEASING.md
'
push
:
branches
:
[ main ]
paths-ignore
:
-
'
docs/**
'
-
'
mkdocs.yml
'
-
'
README.md
'
-
'
RELEASING.md
'
concurrency
:
group
:
"
${{ github.workflow }}-${{ github.head_ref || github.sha }}
"
cancel-in-progress
:
true
env
:
AWS_ACCESS_KEY_ID
:
${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY
:
${{ secrets.AWS_SECRET_ACCESS_KEY }}
GRADLE_ENTERPRISE_ACCESS_KEY
:
${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
GRADLE_ENTERPRISE_CACHE_PASSWORD
:
${{ secrets.GRADLE_ENTERPRISE_CACHE_PASSWORD }}
permissions
:
contents
:
read
jobs
:
find_gradle_jobs
:
runs-on
:
ubuntu-22.04
outputs
:
matrix
:
${{ steps.set-matrix.outputs.matrix }}
steps
:
-
uses
:
actions/checkout@v3
-
uses
:
actions/setup-java@v3
with
:
java-version
:
'
8
'
distribution
:
temurin
-
name
:
Setup Gradle Build Action
uses
:
gradle/gradle-build-action@v2
-
id
:
set-matrix
working-directory
:
./examples/
env
:
#
Since we override the tests executor,
#
we should not push empty results to the cache
READ_ONLY_REMOTE_GRADLE_CACHE
:
true
run
:
|
TASKS=$(./gradlew --no-daemon --parallel -q testMatrix)
echo $TASKS
echo "matrix={\"gradle_args\":$TASKS}" >> $GITHUB_OUTPUT
check
:
needs
:
find_gradle_jobs
strategy
:
fail-fast
:
false
matrix
:
${{ fromJson(needs.find_gradle_jobs.outputs.matrix) }}
runs-on
:
ubuntu-22.04
steps
:
-
uses
:
actions/checkout@v3
-
uses
:
actions/setup-java@v3
with
:
java-version
:
'
8
'
distribution
:
temurin
-
name
:
Clear existing docker image cache
run
:
docker image prune -af
-
name
:
Setup Gradle Build Action
uses
:
gradle/gradle-build-action@v2
with
:
gradle-home-cache-cleanup
:
true
-
name
:
Build and test Examples with Gradle (${{matrix.gradle_args}})
working-directory
:
./examples/
run
:
|
./gradlew --no-daemon --continue --scan --info ${{matrix.gradle_args}}
Back
|
FazBrowse Home
|
New Git URL