Skip to content

build(deps): Bump github/codeql-action from 3.28.8 to 3.28.9 #1373

build(deps): Bump github/codeql-action from 3.28.8 to 3.28.9

build(deps): Bump github/codeql-action from 3.28.8 to 3.28.9 #1373

Workflow file for this run

name: test
on:
push:
branches: ['main']
pull_request:
branches-ignore: ['gh-pages']
permissions: {}
env:
SERVER_AUTH_TYPE: basic
SERVER_URL: http://127.0.0.1:5984
SERVER_USERNAME: admin
SERVER_PASSWORD: password
WIREMOCK_URL: http://127.0.0.1:8080
WIREMOCK_PORT: 8080
jobs:
test:
strategy:
matrix:
python: ['3.9', '3.10', '3.11', '3.12', '3.13']
runs-on: ubuntu-latest
services:
couchdb:
image: apache/couchdb:3
env:
COUCHDB_USER: ${{ env.SERVER_USERNAME }}
COUCHDB_PASSWORD: ${{ env.SERVER_PASSWORD }}
options: --name couchdb
ports:
- 5984:5984
wiremock:
image: wiremock/wiremock
options: --name wiremock
ports:
- 8080:8080
steps:
- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
- name: Setup python ${{ matrix.python }}
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
with:
python-version: ${{ matrix.python }}
cache: 'pip'
- name: Setup CouchDB
shell: bash
run: ${GITHUB_WORKSPACE}/scripts/setup_couch.sh
- name: Setup Wiremock
shell: bash
run: ${GITHUB_WORKSPACE}/scripts/setup_wiremock.sh
- name: Install deps
run: |
python -m pip install --upgrade pip
pip install -r requirements-dev.txt
flit install --only-deps
- name: Run tests
run: python -m pytest