@@ -12,30 +12,32 @@ concurrency:
1212jobs :
1313 test :
1414 runs-on : [ self-hosted, python-small ]
15- env :
16- PYTHON_VERSION : " 3.11"
15+ strategy :
16+ matrix :
17+ python-version : ["3.10", "3.11", "3.12", "3.13"]
18+ fail-fast : false # Don't cancel other jobs if one fails
19+ name : Test (Python ${{ matrix.python-version }})
1720 steps :
1821 - uses : actions/checkout@v4
1922 - name : Install Python and UV
2023 uses : astral-sh/setup-uv@v5
2124 with :
22- python-version : ${{ env.PYTHON_VERSION }}
25+ python-version : ${{ matrix.python-version }}
2326 - name : Install dependencies
2427 run : |
2528 uv sync --group dev
2629 - name : Run sanity check
2730 run : |
28- cd dataframe_expectations
2931 uv run python sanity_checks.py
30- cd ..
32+ working-directory : dataframe_expectations
3133 - name : Run tests
3234 run : |
3335 uv run pytest tests/ --cov=dataframe_expectations
3436
3537 lint :
3638 runs-on : [ self-hosted, python-small ]
3739 env :
38- PYTHON_VERSION : " 3.11"
40+ PYTHON_VERSION : " 3.11" # Use a single version for linting
3941 steps :
4042 - uses : actions/checkout@v4
4143 - name : Install Python and UV
5254 docs :
5355 runs-on : [ self-hosted, python-small ]
5456 env :
55- PYTHON_VERSION : " 3.11"
57+ PYTHON_VERSION : " 3.11" # Use a single version for docs
5658 needs : [test, lint]
5759 steps :
5860 - uses : actions/checkout@v4
6567 uv sync --group docs
6668 - name : Build docs
6769 run : |
68- cd docs
6970 uv run sphinx-build source build/html
70- cd ..
71+ working-directory : docs
0 commit comments