Skip to content

Commit

Permalink
Initial GitHub actions support
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksei Stepanov committed Mar 28, 2023
1 parent 95c15ce commit ff62d8c
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/pythonpackage.yml
@@ -0,0 +1,29 @@
name: Python package

on: [push, pull_request]

jobs:
Test:
runs-on: ${{ matrix.os }}
strategy:
max-parallel: 6
matrix:
os: [ "ubuntu-latest", "windows-latest" ]
python-version: [ "3.7", "3.8", "3.9", "3.10", "3.11" ]

steps:
- uses: actions/checkout@v3.5.0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4.5.0
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip wheel
pip install twisted trio "tornado<5.0.0" coverage
- name: Test
run: |
coverage run ./setup.py test
coverage report
# - name: Coveralls
# uses: coverallsapp/github-action@v1

0 comments on commit ff62d8c

Please sign in to comment.