Skip to content

Commit

Permalink
wip2
Browse files Browse the repository at this point in the history
  • Loading branch information
jzohrab committed Nov 8, 2023
1 parent f3f111a commit 58bdedd
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,26 +114,25 @@ jobs:
python-version: '3.8'
cache: 'pip' # caching pip dependencies

- run: pip install -r requirements.txt

- name: Setup config
run: |
mkdir ${{ github.workspace }}/data
echo "ENV: dev" > ${{ github.workspace }}/lute/config/config.yml
echo "DATAPATH: ${{ github.workspace }}/data" >> ${{ github.workspace }}/lute/config/config.yml
echo "DBNAME: test_lute.db" >> ${{ github.workspace }}/lute/config/config.yml
echo "MECAB_PATH: /lib/x86_64-linux-gnu/libmecab.so.2" >> ${{ github.workspace }}/lute/config/config.yml
mkdir ${{ github.workspace }}\data
echo "ENV: dev" > ${{ github.workspace }}\lute\config\config.yml
echo "DATAPATH: ${{ github.workspace }}\data" >> ${{ github.workspace }}\lute\config\config.yml
echo "DBNAME: test_lute.db" >> ${{ github.workspace }}\lute\config\config.yml
shell: cmd

- run: pip install -r requirements.txt

# Run one particular sanity check.
- name: Smoke test no mecab
run: inv accept --headless -s -k test_unsupported_language_not_shown

- name: Check flit package
run: |
mkdir ${{ github.workspace }}/../lute_flit
cd ${{ github.workspace }}/../lute_flit
flit -f ${{ github.workspace }}/pyproject.toml install
mkdir ${{ github.workspace }}\..\lute_flit
cd ${{ github.workspace }}\..\lute_flit
flit -f ${{ github.workspace }}\pyproject.toml install
shell: cmd

- name: Run Lute application
Expand Down

0 comments on commit 58bdedd

Please sign in to comment.