Skip to content

Commit

Permalink
feat(ci): add Github Actions instead of TravisCI (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
crccheck authored Mar 28, 2023
1 parent 4a0d66b commit 5e18211
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 15 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: CI

on:
pull_request:
push:
branches:
- master

jobs:
test:
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
name: "Python ${{ matrix.python-version }}"
runs-on: ubuntu-latest
env:
POETRY_VIRTUALENVS_CREATE: false
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- run: pip install -r requirements.txt
- run: make test

# lint:
# name: "Black"
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - name: Set up Python
# uses: actions/setup-python@v4
# with:
# python-version: "3.11"
# - run: pip install black
# - run: black --check .
13 changes: 0 additions & 13 deletions .travis.yml

This file was deleted.

4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
project_runpy
=============

.. image:: https://travis-ci.org/crccheck/project_runpy.svg
:target: https://travis-ci.org/crccheck/project_runpy
.. image:: https://github.com/crccheck/project_runpy/actions/workflows/ci.yaml/badge.svg?branch=master
:target: https://github.com/crccheck/project_runpy/actions/workflows/ci.yaml

Generic helpers I wish existed or am constantly copying into my Python projects.

Expand Down

0 comments on commit 5e18211

Please sign in to comment.