-
-
Notifications
You must be signed in to change notification settings - Fork 33
37 lines (35 loc) · 1.15 KB
/
test_manylinux.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: test-manylinux
on:
push:
jobs:
test_linux:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
include:
- python-version: '3.7'
py-short: '37'
py-short2: '37m'
- python-version: '3.8'
py-short: '38'
py-short2: '38'
- python-version: '3.9'
py-short: '39'
py-short2: '39'
- python-version: '3.10'
py-short: '310'
py-short2: '310'
- python-version: '3.11'
py-short: 311
py-short2: 311
- python-version: '3.12'
py-short: 312
py-short2: 312
env:
PYTHON: /opt/python/cp${{ matrix.py-short }}-cp${{ matrix.py-short2 }}/bin/python
steps:
- uses: actions/checkout@v3
- run: docker build -t fugashi .
- name: setup and test
run: docker run -v $(pwd):/workdir -w /workdir fugashi sh -c "export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/ && $PYTHON -m pip install cython pytest wheel unidic-lite ipadic && $PYTHON -m pip install -e . && $PYTHON -m pytest"