Skip to content

Commit

Permalink
#203 Remove pytest-xdist and create start_server.py workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
alexhad6 committed Dec 15, 2023
1 parent 7a496af commit 7ac6420
Show file tree
Hide file tree
Showing 9 changed files with 126 additions and 274 deletions.
5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@
"build": "tsc && vite build",
"preview": "vite preview",
"lint": "tsc && tsc --project cypress && eslint . && prettier --check .",
"test:unit": "jest",
"test:e2e": "wait-on http://127.0.0.1:5050 -t 1000 && wait-on http://localhost:4173 -t 1000 && poetry run cypress run",
"cy:open": "wait-on http://127.0.0.1:5050 -t 1000 && wait-on http://localhost:4173 -t 1000 && poetry run cypress open",
"backend": "poetry run python cypress/backend.py"
"test": "jest"
},
"packageManager": "[email protected]",
"dependencies": {
Expand Down
125 changes: 46 additions & 79 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,8 @@ flake8 = "^6.1.0"
pylint = "^3.0.2"
black = "^23.11.0"
pytest = "^7.4.3"
pytest-xdist = "^3.5.0"
pytest-playwright = "^0.4.3"
freezegun = "1.2.2"
requests = "^2.31.0"
sqlalchemy = "^2.0.23"
astropy = "^6.0.0"

Expand All @@ -41,4 +39,5 @@ strict = true

[tool.pytest.ini_options]
addopts = ["--import-mode=importlib"]
base_url = "http://127.0.0.1:5051"
filterwarnings = ["ignore::DeprecationWarning:eventlet.support.greenlets"]
91 changes: 0 additions & 91 deletions tests/e2e/conftest.py

This file was deleted.

Loading

0 comments on commit 7ac6420

Please sign in to comment.