Skip to content

Merge remote-tracking branch 'upstream/master' #16

Merge remote-tracking branch 'upstream/master'

Merge remote-tracking branch 'upstream/master' #16

Workflow file for this run

name: Lint and Test
on: [push, pull_request, workflow_dispatch]
jobs:
lint_and_test:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.9
- run: |
pip install -r requirements.txt
pip install -r dev-requirements.txt
pip install .
- name: Install PyICU
if: ${{ matrix.os == 'ubuntu-latest'}}
run: |
sudo apt update
sudo apt install python3-icu
- name: Lint
run: pre-commit run --all-files --show-diff-on-failure -v
- name: Test
run: pytest