Skip to content

Commit

Permalink
Switch from Travis CI to GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
jlumpe committed Jan 23, 2022
1 parent 2b3f8d4 commit 4989672
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 18 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: CI

on:
push:
pull_request:

jobs:
# Test the Python package itself
test_python:

runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version:
- 3.6
- 3.7
- 3.8
- 3.9

steps:
- uses: actions/checkout@v2

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

- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
python -m pip install setuptools pytest
- name: Install package
run: |
pip install .
- name: Test with pytest
run: |
pytest
18 changes: 0 additions & 18 deletions .travis.yml

This file was deleted.

1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# pyorg
[![CI](https://github.com/jlumpe/pyorg/actions/workflows/ci.yml/badge.svg)](https://github.com/jlumpe/pyorg/actions/workflows/ci.yml)
[![Documentation Status](https://readthedocs.org/projects/pyorg/badge/?version=latest)](https://pyorg.readthedocs.io/en/latest/?badge=latest)

Python library for working with Emacs org mode.
Expand Down

0 comments on commit 4989672

Please sign in to comment.