Skip to content

Feature/refactor

Feature/refactor #20

Workflow file for this run

name: 'Run Tests'
on:
push:
branches:
- main
pull_request:
jobs:
run-tests:
strategy:
matrix:
os:
- ubuntu-latest
- windows-latest
- macos-latest
python-version:
# - "3.7"
# - "3.8"
# - "3.9"
# - "3.10"
# - "3.11"
- "3.12"
runs-on: ${{matrix.os}}
name: 'Run Tests'
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
shell: bash
run: |
python3 -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Run tests
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
GOOGLE_CREDENTIALS: ${{ secrets.GOOGLE_CREDENTIALS }}
AWS_REGIONS: ${{ env.AWS_REGIONS }}
GCP_PROJECT: ${{ env.GCP_PROJECT }}
GCP_ZONE: ${{ env.GCP_ZONE }}
run: |
python3 -m tests.pystackql_tests