Skip to content

Commit

Permalink
move the trigger of integration tests to distribute, right before rel…
Browse files Browse the repository at this point in the history
…ease
  • Loading branch information
emileten committed Sep 27, 2023
1 parent 80f03ba commit 701d85f
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 106 deletions.
99 changes: 0 additions & 99 deletions .github/workflows/deploy.yaml

This file was deleted.

9 changes: 4 additions & 5 deletions .github/workflows/distribute.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,14 @@ jobs:
package:
uses: ./.github/workflows/build.yaml

integration-test:
uses: ./.github/workflows/integration-test.yaml
needs: package

distribute-python:
runs-on: ubuntu-latest
needs: package
steps:
- uses: actions/download-artifact@v3
with:
name: python
path: dist

- run: pip install twine

- run: twine upload dist/*
Expand Down
10 changes: 9 additions & 1 deletion integration_tests/cdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,15 @@ source .venv/bin/activate
python -m pip install -r requirements.txt
```

Note that `eoapi-cdk` isn't pinned, so that the latest version is always installed. Also install node dependencies with
Install the latest `eoapi-cdk` either from PyPI:

```
pip install eoapi-cdk
```

Or alternatively, compile and package from the root of this repository to get the python version of the constructs locally.

Also install node dependencies with

```
npm install
Expand Down
1 change: 0 additions & 1 deletion integration_tests/cdk/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
aws-cdk-lib>=2.75.0
aws_cdk.aws_cognito_identitypool_alpha>=2.75.0a0
aws-cdk.aws-apigatewayv2-alpha==2.95.1a0
eoapi-cdk
constructs>=10.0.0,<11.0.0
pydantic==2.0.2
pydantic-settings==2.0.1
Expand Down

0 comments on commit 701d85f

Please sign in to comment.