Skip to content

Commit

Permalink
Merge 9bbabd0 into 030941b
Browse files Browse the repository at this point in the history
  • Loading branch information
nocarryr committed Apr 4, 2022
2 parents 030941b + 9bbabd0 commit bd203c6
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 49 deletions.
49 changes: 49 additions & 0 deletions .github/workflows/ci.yml
@@ -0,0 +1,49 @@
name: CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
test:

runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]

steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install base dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
pip install pytest pytest-asyncio pytest-cov coveralls
pip install -e .
- name: Test with pytest
run: |
py.test --cov-config=.coveragerc --cov=pydispatch
- name: Upload to Coveralls
run: coveralls --service=github
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COVERALLS_FLAG_NAME: run-${{ matrix.python-version }}
COVERALLS_PARALLEL: true

coveralls:
name: Indicate completion to coveralls.io
needs: test
runs-on: ubuntu-latest
container: python:3-slim
steps:
- name: Finished
run: |
pip3 install --upgrade coveralls
coveralls --finish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
49 changes: 0 additions & 49 deletions .travis.yml

This file was deleted.

0 comments on commit bd203c6

Please sign in to comment.