Skip to content

Merge pull request #143 from hplt-project/regex-optim-alt #14

Merge pull request #143 from hplt-project/regex-optim-alt

Merge pull request #143 from hplt-project/regex-optim-alt #14

Workflow file for this run

name: Python package
on: [push]
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: [
"3.8", "3.9", "3.10", "3.11",
"pypy3.9"
]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: pip
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
- name: Cache test dependencies
uses: actions/cache@v3
with:
key: big-txt
path: big.txt
- name: Test unit tests
run: |
python -m unittest discover -s sacremoses/test