Skip to content
This repository has been archived by the owner on Oct 18, 2023. It is now read-only.

Commit

Permalink
poetry dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
vggonzal authored and vggonzal committed Aug 6, 2023
1 parent 6826202 commit 6f4a5d3
Showing 1 changed file with 14 additions and 17 deletions.
31 changes: 14 additions & 17 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,21 @@ jobs:
echo "THE_VERSION=${THE_VERSION//-*}" >> $GITHUB_ENV
npm --no-git-tag-version version ${THE_VERSION//-*}
- name: Setup local DynamoDB
run: docker run -d -p 8000:8000 amazon/dynamodb-local

- name: Lint and Flake Install
run: |
pip3 install -U pip pylint
pip3 install -U pip flake8
pip3 install -U pip boto3
pip3 install -U pip geopandas
pip3 install -U pip pytest
pip3 install -U pip connexion
pip3 install -U pip flask_testing
pip3 install -U pip pytest-dynamodb
- name: Run Snyk as a blocking step
if: ${{ startsWith(github.ref, 'refs/heads/main') }}
uses: snyk/actions/node@master
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
Expand All @@ -108,29 +121,13 @@ jobs:


- name: Run Snyk on Node
if: ${{ startsWith(github.ref, 'refs/heads/main') }}
uses: snyk/actions/node@master
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
command: monitor
args: --org=${{ secrets.SNYK_ORG_ID }} --project-name=${{ github.repository }}

- name: Setup local DynamoDB
run: docker run -d -p 8000:8000 amazon/dynamodb-local

- name: Lint and Flake Install
if: ${{ startsWith(github.ref, 'test') }}
run: |
pip3 install -U pip pylint
pip3 install -U pip flake8
pip3 install -U pip boto3
pip3 install -U pip geopandas
pip3 install -U pip pytest
pip3 install -U pip connexion
pip3 install -U pip flask_testing
pip3 install -U pip pytest-dynamodb
- name: Load sample
run: python3 tests/example_load_data.py

Expand Down

0 comments on commit 6f4a5d3

Please sign in to comment.