test: Setup PyIceberg Tests CI #3
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 CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
python-tests: | |
name: Run Python Tests | |
runs-on: ubuntu-latest | |
steps: | |
# Setup & Install Dependencies | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version-file: go.mod | |
cache-dependency-path: go.sum | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: 3.11 | |
cache: 'pip' | |
- run: pip install -r tests/requirements.txt | |
name: Install Python Deps | |
# Run Python Tests | |
- run: pytest tests | |
name: Run Tests |