Skip to content

Commit

Permalink
Mod: Allow java 13 in check and add test with this version in workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
Labbeti committed May 23, 2023
1 parent 2767ea3 commit a28c152
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-package-pip.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
matrix:
os: [ubuntu-latest]
python-version: ["3.9"]
java-version: ["11"]
java-version: ["11","13"]

steps:
# --- INSTALLATIONS ---
Expand Down
2 changes: 1 addition & 1 deletion src/aac_metrics/utils/checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

VERSION_PATTERN = r"(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+).*"
MIN_JAVA_MAJOR_VERSION = 8
MAX_JAVA_MAJOR_VERSION = 11
MAX_JAVA_MAJOR_VERSION = 13


def check_metric_inputs(
Expand Down

0 comments on commit a28c152

Please sign in to comment.