Skip to content

GHA: Fix CI on old Ubuntu #12

GHA: Fix CI on old Ubuntu

GHA: Fix CI on old Ubuntu #12

Workflow file for this run

# CI workflow running the unit tests.
name: CI
on: [ push, pull_request ]
env:
# workaround required for checkout@v3, https://github.com/actions/checkout/issues/1590
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
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 default-jre git make python python-pip
- 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