Skip to content

Replace deprecated assertEquals() with assertEqual() in tests #25

Replace deprecated assertEquals() with assertEqual() in tests

Replace deprecated assertEquals() with assertEqual() in tests #25

Workflow file for this run

name: ci
on:
push:
branches:
- trunk
- gh-pages
pull_request:
branches:
- trunk
- gh-pages
jobs:
build:
name: ${{ matrix.TOX_ENV }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python: ["3.8", "3.11", "3.12"]
include:
- TOX_ENV: "lint"
python: "3.11"
- TOX_ENV: "py38"
python: "3.8"
- TOX_ENV: "py312"
python: "3.12"
- TOX_ENV: "py311"
python: "3.11"
- TOX_ENV: docs
python: "3.11"
- TOX_ENV: apidocs
- TOX_ENV: docs-spellcheck
- TOX_ENV: docs-linkcheck
allow_failures:
- TOX_ENV: "docs-linkcheck"
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python }}
- name: Install
run: source ./.travis/install.sh
- name: Tox Run
run: |
TOX_ENV="${{ matrix.TOX_ENV }}";
echo "Starting: ${TOX_ENV} ${PUSH_DOCS}"
if [[ -n "${TOX_ENV}" ]]; then
tox -e "$TOX_ENV";
fi
if [[ "$PUSH_DOCS" == "true" ]]; then
./.travis/build_docs.sh;
fi;
- name: after_success
run: |
if [[ "${TOX_ENV:0:2}" == 'py' ]]; then tox -e coveralls-push; fi