Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

PLAT-180: Release v0.1.0 #19

PLAT-180: Release v0.1.0

PLAT-180: Release v0.1.0 #19

Workflow file for this run

name: Test
on:
push:
branches:
- main
paths-ignore:
- '**.md'
- 'docs/**'
- 'docsrc/**'
pull_request:
branches:
- main
paths-ignore:
- '**.md'
- 'docs/**'
- 'docsrc/**'
jobs:
test:
name: Run unit tests
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- "3.7"
- "3.8"
- "3.9"
- "3.10"
- "3.11"
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 Python dependencies
run: |
pipx install poetry
poetry install --with 'dev,docs' --sync
- name: Run all pytests
run: poetry run pytest --cov-report term-missing --cov=datajoint_file_validator tests
- name: Check formatting with black
run: |
poetry run black --check datajoint_file_validator tests