Bump version: 1.4.2 → 1.5.0 #61
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: tests | |
on: [push] | |
jobs: | |
build-test: | |
runs-on: ubuntu-latest | |
container: python:3.11 | |
services: | |
redis: | |
image: redis | |
options: >- | |
--health-cmd "redis-cli ping" | |
--health-interval 10s | |
--health-timeout 5s | |
--health-retries 5 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: | | |
set -ex | |
curl -sSL https://install.python-poetry.org | python3 - | |
$HOME/.local/bin/poetry install | |
- name: Install playwright | |
run: | | |
set -ex | |
$HOME/.local/bin/poetry run playwright install chromium --with-deps | |
- name: Test with pytest | |
env: | |
REDIS_URL: redis://redis:6379/0 | |
run: | | |
set -ex | |
$HOME/.local/bin/poetry run pytest |