Skip to content

Port SitemapExtractor from CC-MRJob to CC-PySpark #3

Port SitemapExtractor from CC-MRJob to CC-PySpark

Port SitemapExtractor from CC-MRJob to CC-PySpark #3

Workflow file for this run

name: Python Unit Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10', '3.11', '3.12', '3.13']
fail-fast: false
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install -r requirements.txt
- name: Run tests
run: |
python -m pytest . -v
env:
# pyspark needs this to find the test files
PYTHONPATH: test