-
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
393 replace cypress email tests with pytest and eliminate cypress (#490)
* Replaced email cypress tests with new and adapted pytest tests (#393) * Removed obsolete email cypress stuff (#393) * Removed most remaining cypress stuff (#406) * Removed node.js json files (#406) * Upgraded and reapplied black (#393) * Upgraded also black's dependencies (#393)
- Loading branch information
Showing
14 changed files
with
105 additions
and
2,276 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,6 @@ orbs: | |
azure-acr: circleci/[email protected] | ||
node: circleci/[email protected] | ||
python: circleci/[email protected] | ||
cypress: cypress-io/cypress@1 | ||
codecov: codecov/[email protected] | ||
|
||
jobs: | ||
|
@@ -50,27 +49,6 @@ jobs: | |
file: /tmp/test-results/unit-tests/coverage.xml | ||
- store_test_results: | ||
path: /tmp/test-results/unit-tests | ||
cypress: | ||
# Set up test environment and run cypress tests | ||
machine: | ||
image: ubuntu-2004:202201-02 | ||
steps: | ||
- checkout | ||
- run: | ||
name: Install Node Dependencies | ||
command: npm i | ||
- run: | ||
name: Docker Compose Build | ||
command: docker-compose -f docker/docker-compose.prod.yml build | ||
- run: | ||
name: Docker Compose Up | ||
command: docker-compose -f docker/docker-compose.prod.yml up -d | ||
- run: | ||
name: Wait on Server | ||
command: npx wait-on http://localhost:5000/questions | ||
- run: | ||
name: Cypress Run | ||
command: npx cypress run | ||
build_and_deploy_prod: | ||
machine: true | ||
steps: | ||
|
@@ -97,9 +75,6 @@ workflows: | |
- pytest: | ||
requires: | ||
- lint | ||
- cypress: | ||
requires: | ||
- lint | ||
- build_and_deploy_prod: | ||
context: | ||
- azure | ||
|
@@ -108,7 +83,6 @@ workflows: | |
only: master | ||
requires: | ||
- pytest | ||
- cypress | ||
- build_and_deploy_test: | ||
context: | ||
- azure | ||
|
@@ -117,4 +91,3 @@ workflows: | |
only: develop | ||
requires: | ||
- pytest | ||
- cypress |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.