Skip to content

Update README for the modern era #62

Update README for the modern era

Update README for the modern era #62

Workflow file for this run

name: CI tests
on:
pull_request:
push:
branches:
- main
env:
# Need to set this to avoid pipenv syncing an entire LFS repo and failing with bandwidth quota (see
# https://github.com/the-grey-group/datalab/issues/603)
GIT_LFS_SKIP_SMUDGE: 1
jobs:
pytest:
name: Run Python unit tests
runs-on: ubuntu-22.04
strategy:
fail-fast: false
max-parallel: 4
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install MDBTools OS dependency
run: |
sudo apt install -y mdbtools
- name: Install latest compatible versions of immediate dependencies
run: |
python -m pip install --upgrade pip
pip install -U setuptools
pip install pipenv
pipenv install --dev
pipenv run pip install -e .
- name: Run all tests
run: |
pipenv run pytest -rs -vvv ./tests