Skip to content

test: Pytest with PySpark #40

test: Pytest with PySpark

test: Pytest with PySpark #40

Workflow file for this run

name: Maven Tests
"on":
pull_request:
types:
- opened
- edited
- synchronize
- reopened
env:
QDRANT_URL: "${{ secrets.QDRANT_URL }}"
QDRANT_API_KEY: "${{ secrets.QDRANT_API_KEY }}"
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
java-version: "8"
distribution: temurin
- name: Run the Maven tests
run: mvn test
- name: Generate assembly fat JAR
run: mvn clean package
- uses: actions/setup-python@v4
with:
python-version: '3.11'
cache: 'pip'
- name: Install dependencies
run: pip install -r src/test/python/requirements.txt
- name: Run Python tests
run: pytest