From 9147d444a19dd5928b7ce3e2ccaa5c45b163cc2d Mon Sep 17 00:00:00 2001 From: vggonzal <9Tcostoamm> Date: Wed, 2 Aug 2023 15:34:38 -0700 Subject: [PATCH] fix build --- .github/workflows/build.yml | 2 ++ package.json | 2 +- requirements.txt | 5 +++++ 3 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 requirements.txt diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f8e2b90..aebba40 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -95,5 +95,7 @@ jobs: - name: Test with pytest run: | + pip install --upgrade pip pip install pytest pytest-cov + pip install -r requirements.txt pytest tests/test_api.py \ No newline at end of file diff --git a/package.json b/package.json index 2f98cfa..e756090 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "boto3": "^1.28.2", "pandas": "^2.0.3", "shapely": "^2.0.1", - "connexion": {"version": "^2.14.2", "extras": ["swagger-ui"]}, + "connexion": "^2.14.2", "cryptography": "^41.0.2" }, "devDependencies": { diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..8d34adc --- /dev/null +++ b/requirements.txt @@ -0,0 +1,5 @@ +boto3 == 1.28.2 +pandas == 2.0.3 +shapely == 2.0.1 +connexion == 2.14.2 +cryptography == 41.0.2 \ No newline at end of file