-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* ci: test fixing * ci: test fixing * ci: test fixing
- Loading branch information
Showing
6 changed files
with
472 additions
and
187 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,9 +8,17 @@ jobs: | |
docker: | ||
- image: rishabhpoddar/supertokens_website_sdk_testing_node_16 | ||
steps: | ||
- run: git config --global url."https://github.com/".insteadOf ssh://[email protected]/ # This makes npm use http instead of ssh (required for node 16) | ||
- checkout | ||
- run: (cd .circleci/ && ./markDevTagAsTestNotPassed.sh) | ||
- run: echo "Testing branch << pipeline.git.branch >>" | ||
- when: | ||
condition: | ||
not: | ||
matches: | ||
pattern: "^test-cicd/.*$" | ||
value: << pipeline.git.branch >> | ||
steps: | ||
- run: git config --global url."https://github.com/".insteadOf ssh://[email protected]/ # This makes npm use http instead of ssh (required for node 16) | ||
- checkout | ||
- run: (cd .circleci/ && ./markDevTagAsTestNotPassed.sh) | ||
test-unit: | ||
docker: | ||
- image: rishabhpoddar/supertokens_android_sdk_testing | ||
|
@@ -51,6 +59,9 @@ jobs: | |
echo 'export NVM_DIR="$HOME/.nvm"' >> $BASH_ENV | ||
echo '[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"' >> $BASH_ENV | ||
- run: (cd .circleci/ && ./doTests.sh << parameters.fdi-version >>) | ||
- store_artifacts: | ||
path: ../supertokens-root/logs | ||
destination: logfiles | ||
test-success: | ||
docker: | ||
- image: rishabhpoddar/supertokens_website_sdk_testing_node_16 | ||
|
@@ -69,7 +80,7 @@ workflows: | |
tags: | ||
only: /dev-v[0-9]+(\.[0-9]+)*/ | ||
branches: | ||
ignore: /.*/ | ||
only: /test-cicd\/.*/ | ||
- test-unit: | ||
requires: | ||
- test-dev-tag-as-not-passed | ||
|
@@ -79,7 +90,7 @@ workflows: | |
tags: | ||
only: /dev-v[0-9]+(\.[0-9]+)*/ | ||
branches: | ||
ignore: /.*/ | ||
only: /test-cicd\/.*/ | ||
matrix: | ||
parameters: | ||
fdi-version: placeholder | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.