Skip to content

Gooddata productivity tools #1

Gooddata productivity tools

Gooddata productivity tools #1

Workflow file for this run

name: Python tests and linting
on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
jobs:
validate-python:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install tox
- name: Run lint
run: tox -e lint
- name: Run type
run: tox -e type
test-python:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install tox
- name: Set up fake AWS credentials
run: sh tests/fake_aws_creds.sh
- name: Run tests
run: tox -e 3.11