Add Spark 4.0 support via deequ:2.0.14-spark-4.0 #201
Workflow file for this run
This file contains hidden or 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
| on: | |
| push: | |
| branches: | |
| - "**" | |
| pull_request: | |
| branches: | |
| - "master" | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - PYSPARK_VERSION: "3.1.3" | |
| JAVA_VERSION: "11" | |
| - PYSPARK_VERSION: "3.2" | |
| JAVA_VERSION: "11" | |
| - PYSPARK_VERSION: "3.3" | |
| JAVA_VERSION: "11" | |
| - PYSPARK_VERSION: "3.5" | |
| JAVA_VERSION: "11" | |
| - PYSPARK_VERSION: "4.0.0" | |
| JAVA_VERSION: "17" | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: actions/setup-python@v2 | |
| name: Install Python 3.8 | |
| with: | |
| python-version: 3.8 | |
| - uses: actions/setup-java@v1 | |
| name: Setup Java ${{matrix.JAVA_VERSION}} | |
| with: | |
| java-version: ${{matrix.JAVA_VERSION}} | |
| - name: Running tests with pyspark==${{matrix.PYSPARK_VERSION}} | |
| env: | |
| SPARK_VERSION: ${{matrix.PYSPARK_VERSION}} | |
| run: | | |
| pip install --upgrade pip | |
| pip install poetry==1.7.1 | |
| poetry install | |
| poetry add pyspark==$SPARK_VERSION | |
| poetry run python -m pytest -s tests |