Skip to content

Merge pull request #20 from NHFLO/actions #4

Merge pull request #20 from NHFLO/actions

Merge pull request #20 from NHFLO/actions #4

name: Data validator
on:
push:
branches:
- main
jobs:
data-validation:
name: Test for forbidden file formats
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
strategy:
fail-fast: false
env:
HATCH_VERBOSE: 1
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version-file: "pyproject.toml"
- name: Install uv
uses: astral-sh/setup-uv@v3
- name: Install hatch
run: uv tool install hatch
- name: Test for forbidden file formats
run: hatch run test:pytest tests/test_forbidden_file_formats.py -v