csv-nose 1.0.0

CSV dialect sniffer using Garcia's Table Uniformity Method
Documentation
name: Rust

on:
  push:
    branches: [ "main" ]
  pull_request:
    branches: [ "main" ]

env:
  CARGO_TERM_COLOR: always

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v6
    - name: Build
      run: cargo build --verbose
    - name: Copy benchmark test data
      run: |
        git clone https://github.com/ws-garcia/CSVsniffer.git /tmp/CSVsniffer
        mkdir -p tests/data/pollock tests/data/w3c-csvw tests/data/csv-wrangling
        cp -r /tmp/CSVsniffer/CSV/* tests/data/pollock/
        cp -r /tmp/CSVsniffer/W3C-CSVW/* tests/data/w3c-csvw/
        cp -r "/tmp/CSVsniffer/CSV_Wrangling/data/github/Curated files/"* tests/data/csv-wrangling/
    - name: Run tests
      run: cargo test --verbose