Skip to content

Commit

Permalink
ci: Add stdin tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Apr 28, 2024
1 parent c92ef84 commit 0334d51
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,23 @@ jobs:
PYTHONIOENCODING: utf-8
PYTHONUTF8: 1
run: pytest --cov csvkit
# csvpy cannot accept input as piped data via STDIN.
- name: Read from stdin
if: matrix.os != 'windows-latest'
run: |
csvclean < examples/dummy.csv
csvcut < examples/dummy.csv
csvformat < examples/dummy.csv
csvgrep -c1 -m1 < examples/dummy.csv
csvjoin < examples/dummy.csv
csvjson < examples/dummy.csv
csvlook < examples/dummy.csv
csvsort < examples/dummy.csv
csvsql < examples/dummy.csv
csvstack < examples/dummy.csv
csvstat < examples/dummy.csv
in2csv -f csv < examples/dummy.csv
sql2csv < examples/test.sql
- env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: coveralls --service=github

0 comments on commit 0334d51

Please sign in to comment.