Skip to content

Commit

Permalink
Try using package pip install in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
rdettai committed Nov 22, 2023
1 parent bafe8cc commit f23269d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/publish_lambda_packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@ jobs:
run: sudo apt-get -y install protobuf-compiler python3 python3-pip
- name: Install rustup
run: curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain none -y
- name: Install cargo lambda
run: pip3 install cargo-lambda
- name: Install python dependencies
run: pip install ./distribution/lambda
- name: Mypy lint
run: mypy distribution/lambda/

- name: Extract asset version of release
run: echo "ASSET_VERSION=${GITHUB_REF/refs\/tags\//}-beta" >> $GITHUB_ENV
Expand Down
2 changes: 1 addition & 1 deletion distribution/lambda/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ black = "^23.9.1"
boto3 = "^1.28.59"
mypy = "^1.7.0"

[tool.poetry.group.types.dependencies]
# types
boto3-stubs = "^1.28.39"
types-requests = "^2.31.0.2"
types-pyyaml = "^6.0.12.11"
Expand Down

0 comments on commit f23269d

Please sign in to comment.