Skip to content

ci: Attempt to expose OSError on Windows #173

ci: Attempt to expose OSError on Windows

ci: Attempt to expose OSError on Windows #173

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build:
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
python-version: [3.8, 3.9, '3.10', '3.11', pypy-3.9]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: pip
cache-dependency-path: setup.py
- run: pip install .[test] coveralls
- env:
LANG: en_US.UTF-8
PYTHONIOENCODING: utf-8
PYTHONUTF8: 1
run: pytest --cov csvkit
- env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: coveralls --service=github