Skip to content

Merge pull request #119 from laws-africa/python-3-10 #466

Merge pull request #119 from laws-africa/python-3-10

Merge pull request #119 from laws-africa/python-3-10 #466

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Test
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install 'git+https://git@github.com/laws-africa/cobalt.git@master#egg=cobalt'
pip install -e '.[test]'
- name: Run tests
run: python -m unittest