Skip to content

Commit

Permalink
using gh actions
Browse files Browse the repository at this point in the history
  • Loading branch information
sonic182 committed Aug 24, 2024
1 parent 0e835bc commit e7781cf
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 11 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Python CI

on: [push, pull_request]

jobs:
test:
runs-on: ubuntu-latest

strategy:
matrix:
python-version: ["3.6", "3.7", "3.8"]

steps:
- uses: actions/checkout@v3

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: pip install -e .[test]

- name: Run tests with coverage
run: coverage run setup.py test

- name: Display coverage report
run: coverage report
11 changes: 0 additions & 11 deletions .travis.yml

This file was deleted.

0 comments on commit e7781cf

Please sign in to comment.