Skip to content

Commit

Permalink
ci: default tests using node20 and mongo7, additional tests using nod…
Browse files Browse the repository at this point in the history
…e{18,22} and mongo{5,6,7}
  • Loading branch information
robinbourianes-kalisio committed Jul 23, 2024
1 parent 6eb11ea commit 4063422
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node: [ 18, 20 ]
node: [ 18, 22 ]
mongo: [ 5, 6, 7 ]
name: Additional tests
if: ${{ contains(github.event.head_commit.message, 'additional tests') }}
Expand Down
4 changes: 2 additions & 2 deletions scripts/init_runner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ THIS_DIR=$(dirname "$THIS_FILE")
### Github Actions

init_github_run_tests() {
install_reqs age sops nvm node16 mongo4 cc_test_reporter
install_reqs age sops nvm node20 mongo7 cc_test_reporter
}

init_github_additional_tests() {
install_reqs age sops nvm node18 node20 mongo5 mongo6 mongo7
install_reqs age sops nvm node18 node22 mongo5 mongo6 mongo7
}

init_github_build_service() {
Expand Down
2 changes: 1 addition & 1 deletion scripts/kash
Submodule kash updated 3 files
+12 −0 CHANGELOG.md
+2 −0 README.md
+33 −31 kash.sh
4 changes: 2 additions & 2 deletions scripts/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ WORKSPACE_DIR="$(dirname "$ROOT_DIR")"
## Parse options
##

NODE_VER=16
MONGO_VER=4
NODE_VER=20
MONGO_VER=7
CI_STEP_NAME="Run tests"
CODE_COVERAGE=false
while getopts "m:n:cr:" option; do
Expand Down

0 comments on commit 4063422

Please sign in to comment.