Skip to content

New action for running core tests without PySpark #1

New action for running core tests without PySpark

New action for running core tests without PySpark #1

# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: No Spark test package
on:
push:
branches: [develop, main]
pull_request:
branches: [develop, main]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ['3.10']
env:
PYTHON_VERSION: ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install datacompy
run: |
python -m pip install pytest pytest-cov
python -m pip install .
- name: Test with pytest
run: |
python -m pytest tests/test_core.py