Run CI builds in Ubuntu 18.04 container to use Python 2 #6
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# CI workflow running the unit tests. | |
name: CI | |
on: [ push, pull_request ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
# We need to use an OLS old enough to still have Python 2 | |
container: ubuntu:18.04 | |
steps: | |
- name: Set up | |
run: | | |
apt-get update -qq | |
apt-get install -qq git make python2 | |
- name: Check out | |
uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: | | |
pip install Sphinx | |
pip install pytest | |
pip install clint | |
- name: Run tests | |
run: make test |