Refactor get_dataframe method to allow altering schema #6
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: Test | |
on: | |
pull_request: | |
paths: | |
- ".github/workflows/test.yaml" | |
- "pyspark_cdm/**" | |
- "tests/**" | |
- "poetry.lock" | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
timeout-minutes: 20 | |
strategy: | |
fail-fast: false | |
matrix: | |
python: | |
- "3.8" | |
- "3.9" | |
- "3.10" | |
- "3.11" | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v2 | |
- name: Setup Python | |
uses: actions/[email protected] | |
with: | |
python-version: ${{ matrix.python }} | |
architecture: x64 | |
cache: "pip" | |
cache-dependency-path: "poetry.lock" | |
- name: Install Poetry | |
run: pipx install poetry | |
- name: Install Dependencies | |
run: poetry install | |
- name: Run test suite | |
run: poetry run pytest -s |