Option to turn metadata into snake case from sqlalchemy #372
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run tests with package dependencies | |
on: pull_request | |
jobs: | |
python-version-run-tests: | |
runs-on: ubuntu-latest | |
strategy: | |
max-parallel: 4 | |
matrix: | |
python-version: ["3.8", "3.9", "3.10", "3.11"] | |
poetry-install: [fresh-install] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies ${{ matrix.poetry-install }} | |
run: | | |
if [ "${{ matrix.poetry-install }}" == "from-lock-file" ]; then | |
echo "Installing dependencies from lock file" | |
else | |
echo "Removing lock file and installing latest possible dependencies" | |
if [ -f poetry.lock ]; then | |
rm poetry.lock | |
fi | |
fi | |
python -m pip install --upgrade pip | |
pip install poetry | |
poetry config virtualenvs.create false \ | |
&& poetry install --extras "arrow etl-manager postgres aws-iceberg" --no-interaction --no-ansi | |
- name: Run Tests | |
run: | | |
pytest tests/ --ignore=tests/test_sqlalchemy_converter.py -vv |