Skip to content

Dependencies update #29

Dependencies update

Dependencies update #29

Workflow file for this run

name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
ci:
strategy:
fail-fast: false
max-parallel: 1
matrix:
python-version: [3.8, 3.9, '3.10']
couchdb-version: [1.7, 2.3, 3.2, 'latest']
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Get poetry
run: pip install poetry
- name: Set up CouchDB
run: docker run --name couchdb-test-${{ matrix.couchdb-version }} -p 5984:5984 -e COUCHDB_USER=admin -e COUCHDB_PASSWORD=password -d couchdb:${{ matrix.couchdb-version }}
- run: poetry install
- run: poetry run pytest -v ./test/test_integration.py
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v2
- name: Get poetry
run: pip install poetry
- run: poetry install
- run: poetry run pytest -v --doctest-modules --cov pycouchdb ./test/test_functional.py