From 034030c03ce187f82fae376f16e91bd3d75a0581 Mon Sep 17 00:00:00 2001 From: Ryan Haney <25014745+thathaneydude@users.noreply.github.com> Date: Thu, 18 Jul 2024 15:13:18 -0500 Subject: [PATCH] more tests --- .github/workflows/test:lambda.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test:lambda.yaml b/.github/workflows/test:lambda.yaml index 16f3c3a..7e70529 100644 --- a/.github/workflows/test:lambda.yaml +++ b/.github/workflows/test:lambda.yaml @@ -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 \ No newline at end of file