Skip to content

add to github workflows checks.yaml #220

add to github workflows checks.yaml

add to github workflows checks.yaml #220

Workflow file for this run

name: Run Unit Tests
on: [push]
jobs:
run_unit_tests:
environment: AWS
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Python & Poetry Environment
uses: exasol/python-toolbox/.github/actions/[email protected]
with:
python-version: "3.10"
poetry-version: '1.8.2'
- name: Run pytest
run: poetry run pytest
env: # Set the secret as an env variable
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_ACCESS_KEY_SECRET }}
AWS_DEFAULT_REGION: ${{ secrets.AWS_REGION }}