Skip to content

Commit

Permalink
Update python-app.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
turukawa committed May 23, 2024
1 parent 78600f8 commit 67c539c
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python

name: Python application
name: Continuous Testing

on:
push:
Expand All @@ -28,17 +28,21 @@ jobs:
run: |
sudo apt-get update
sudo apt-get -y install python3-dev libevent-dev default-jre
- name: Install pandoc
uses: r-lib/actions/setup-pandoc@v2
with:
pandoc-version: "3.2"
- name: Run pandoc
run: pandoc --version
- name: Install and configure Poetry
run: |
python -m pip install --upgrade pip
pip install -U poetry pytest
pip install poetry pytest
echo "$HOME/.poetry/bin" >> $GITHUB_PATH
poetry config virtualenvs.in-project true
- name: Install chapisha dependencies
run: |
poetry install --no-interaction
poetry remove pypandoc --no-interaction
poetry add pypandoc_binary --no-interaction
- name: Test with pytest
run: |
poetry run pytest

0 comments on commit 67c539c

Please sign in to comment.