diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 0be5b10..0b657cb 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -1,14 +1,12 @@ -# .github/workflows/app.yaml name: PyTest on: - workflow_dispatch: pull_request: paths: - "tests/**" - "src/**" - "Pipfile" - "Pipfile.lock" - - ".github/workflows/pytest.yml" + - .github/workflows/pytest.yml jobs: test: @@ -31,11 +29,18 @@ jobs: run: | python -m pip install --upgrade pipenv wheel + - name: Configure AWS credentials + uses: aws-actions/configure-aws-credentials@v1 + with: + aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} + aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + aws-region: us-east-1 + - name: Install dependencies if: steps.setup-python.outputs.cache-hit != 'true' run: | - pipenv sync --dev + pipenv install --deploy --dev - name: Run test suite run: | - pipenv run tests -v + pipenv run test -v