Skip to content

ci: switch to github workflow #2

ci: switch to github workflow

ci: switch to github workflow #2

Workflow file for this run

name: Python CI
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04]
arch: [amd64]
python-version: ["3.5", "3.6", "3.7", "3.8", "3.9"]
steps:
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
architecture: ${{ matrix.arch }}
- name: Check out repository
uses: actions/checkout@v2
- name: Upgrade pip and setuptools
run: |
python -m pip install --upgrade pip setuptools
- name: Install dependencies
run: |
pip install .
- name: Run tests
run: |
python test/test.py