Skip to content

Commit

Permalink
Migrate from Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
histrio committed Oct 12, 2022
1 parent 88548ce commit cb43b01
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/python-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
name: CI

on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:

jobs:
tests:
name: Tests on ${{ matrix.python-version }}
runs-on: ubuntu-latest

strategy:
matrix:
python-version: ["2.7", "3.6", "3.7", "3.8", "3.9", "3.10", "pypy3"]

steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel poetry
poetry install
- name: Do tests
run: |
poetry run pytest --cov descript

0 comments on commit cb43b01

Please sign in to comment.