Skip to content

chg: Bump deps

chg: Bump deps #138

Workflow file for this run

name: Python application - API Test
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10']
name: Python ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v4
- name: Install poetry
run: pipx install poetry
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{matrix.python-version}}
cache: 'poetry'
- name: Install with poetry
run: |
poetry install
echo LACUS_HOME=`pwd` > .env
poetry run playwright install
- name: Install redis
run: |
pushd ..
git clone https://github.com/antirez/redis.git
pushd redis
git checkout 7.0
make
popd
popd
- name: Run API tests
run: |
poetry run start
git clone https://github.com/ail-project/PyLacus.git
pushd PyLacus
poetry install
poetry run pytest tests/test_web.py
popd
poetry run stop
- name: Test update script
run: |
poetry run update --yes
sleep 30
poetry run stop