Skip to content

ci: pin setuptools<81 to retain pkg_resources for pyewts build #11

ci: pin setuptools<81 to retain pkg_resources for pyewts build

ci: pin setuptools<81 to retain pkg_resources for pyewts build #11

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: ["3.9"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip "setuptools<81" wheel
pip install -r requirements.txt --no-build-isolation
- name: Run test
run: |
echo "སློབ་དཔོན་བྲམ་ཟེ་རྟ་དབྱངསཀྱིཡོམཛད།" > test-bo.txt
echo "Hello World" > test-en.txt
chmod +x align_tib_en.sh
./align_tib_en.sh test-bo.txt test-en.txt
cat ./output/test-bo.txt.train_cleaned