Skip to content

Commit 1064b5b

Browse files
committed
Lifecycle python support
1 parent be5bbf9 commit 1064b5b

File tree

2 files changed

+41
-1
lines changed

2 files changed

+41
-1
lines changed

.devcontainer/devcontainer.json

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
2+
// README at: https://github.com/devcontainers/templates/tree/main/src/java-8
3+
{
4+
"name": "Java 8",
5+
"image": "mcr.microsoft.com/devcontainers/java:1-8-buster",
6+
"features": {
7+
"ghcr.io/devcontainers/features/java:1": {
8+
"version": "none",
9+
"installMaven": "true",
10+
"installGradle": "false"
11+
}
12+
},
13+
14+
// Configure tool-specific properties.
15+
"customizations": {
16+
// Configure properties specific to VS Code.
17+
"vscode": {
18+
// Set *default* container specific settings.json values on container create.
19+
"settings": {
20+
"java.import.gradle.java.home": "/usr/local/sdkman/candidates/java/current",
21+
"java.configuration.runtimes": [
22+
{
23+
"default": true,
24+
"name": "JavaSE-1.8",
25+
"path": "/usr/local/sdkman/candidates/java/current"
26+
}
27+
]
28+
}
29+
}
30+
}
31+
32+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
33+
// "forwardPorts": [],
34+
35+
// Use 'postCreateCommand' to run commands after the container is created.
36+
// "postCreateCommand": "java -version",
37+
38+
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
39+
// "remoteUser": "root"
40+
}

.github/workflows/pr-ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
AWS_REGION: us-east-1
1515
strategy:
1616
matrix:
17-
python: [3.6, 3.7, 3.8]
17+
python: [3.7, 3.8, 3.9]
1818
java: [8, 11]
1919
runs-on: ubuntu-latest
2020
steps:

0 commit comments

Comments
 (0)