Skip to content

Refs #265. Try using docker images for legacy pythons #2

Refs #265. Try using docker images for legacy pythons

Refs #265. Try using docker images for legacy pythons #2

Workflow file for this run

name: CI
on:
push:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- python-version: 2.7
image: python:2.7-slim
- python-version: 3.6
image: python:3.6-slim
- python-version: 3.7
image: python:3.7-slim
container:
image: python:${{ matrix.python-version }}-slim
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: pip install --requirement requirements/testing.txt
- name: Run tests
run: nosetests --with-doctest []