Skip to content

Try again with continue-on-error set and additional pythons to determ… #8

Try again with continue-on-error set and additional pythons to determ…

Try again with continue-on-error set and additional pythons to determ… #8

Workflow file for this run

name: CI
on:
push:
jobs:
legacy:
runs-on: ubuntu-latest
continue-on-error: true
strategy:
matrix:
python: [2.7, 3.3, 3.4, 3.6, 3.7, 3.8, 3.10]
defusedxml: [none]
include:
- python: 2.7
image: python:2.7-slim
- python: 3.3
image: python:3.3-slim
- python: 3.4
image: python:3.4-slim
- python: 3.6
image: python:3.6-slim
- python: 3.7
image: python:3.7-slim
- python: 3.8
image: python:3.8-slim
- python: 3.10
image: python:3.10-slim
container:
image: ${{ matrix.image }}
steps:
- uses: actions/checkout@v4
- name: Check python version
run: python --version
- name: Install dependencies
run: pip install --requirement requirements/testing.txt
- name: Install defusedxml if specified
if: ${{ matrix.defusedxml != 'none' }}
run: pip install defusedxml==${{ matrix.defusedxml }}
- name: Install PyDocX
run: pip install -e .[dev] # editable install so CLI entry points are available
- name: Run tests
run: nosetests --with-doctest