Skip to content

Commit

Permalink
more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
thathaneydude committed Jul 18, 2024
1 parent 5c4da93 commit 034030c
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/test:lambda.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,17 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r "$LAMBDA_DIR/requirements.txt"
pip install -r "$LAMBDA_DIR/tests/test-requirements.txt"
pip install -r ${{LAMBDA_DIR}}/requirements.txt
pip install -r ${{LAMBDA_DIR}}/tests/test-requirements.txt
- name: Run Tests
run: |
export AWS_DEFAULT_REGION=us-east-1
pytest "$LAMBDA_DIR/tests"
--junitxml="${{ github.workspace }}/$TEST_RESULTS_DIR/test-results.xml"
--cov="$LAMBDA_DIR/tests"
--cov-report=xml:"$TEST_RESULTS_DIR/coverage.xml"
pytest ${{LAMBDA_DIR}}/tests
--junitxml=${{TEST_RESULTS_DIR}}/test-results.xml
--cov=${{LAMBDA_DIR}}/tests
--cov-report=xml:${{TEST_RESULTS_DIR}}/coverage.xml
- name: Upload pytest results
uses: actions/upload-artifact@v4
with:
name: test-results
path: "$TEST_RESULTS_DIR/*"
name: coverage
path: ${{TEST_RESULTS_DIR}}/coverage.xml

0 comments on commit 034030c

Please sign in to comment.