diff --git a/.github/workflows/validate-csv.yml b/.github/workflows/validate-csv.yml new file mode 100644 index 0000000..c46d1f4 --- /dev/null +++ b/.github/workflows/validate-csv.yml @@ -0,0 +1,35 @@ +name: Validate CSV Files + +on: + pull_request: + branches: + - main + - master + push: + branches: + - main + - master + +jobs: + validate-csv: + runs-on: ubuntu-latest + permissions: + contents: read + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: '3.12' + + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install pytest==9.0.1 + + - name: Run CSV validation tests + run: | + pytest tests/test_csv.py -v