Skip to content

Find the mecab.so.

Find the mecab.so. #72

Workflow file for this run

name: ci
on:
push:
branches: [ "develop", "master", "fix_github_ci" ]
pull_request:
branches: [ "develop", "master" ]
permissions:
contents: read
jobs:
# Basic linting and tests.
base-ci:
runs-on: ubuntu-latest
steps:
- name: Install Dependencies
run: |
sudo apt-get update -y
sudo apt-get install -y mecab mecab-ipadic-utf8
sudo find /usr/lib/ -name libmecab.so
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.9'
cache: 'pip' # caching pip dependencies
- run: pip install -r requirements.txt
- name: Setup config
run: |
mkdir ${{ github.workspace }}/data
echo "ENV: dev" > ${{ github.workspace }}/config/config.yml
echo "DATAPATH: ${{ github.workspace }}/data" >> ${{ github.workspace }}/config/config.yml
echo "DBNAME: test_lute.db" >> ${{ github.workspace }}/config/config.yml
ls ${{ github.workspace }}
cat ${{ github.workspace }}/config/config.yml
- name: Lint
run: inv lint
- name: Test
run: pytest
- name: Acceptance testing
run: inv accept --headless -s