Docker: fix —version to include git information #13
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 ] | |
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 |