Skip to content

Commit

Permalink
Merge pull request #28 from open205/github-actions
Browse files Browse the repository at this point in the history
Use GitHub Actions instead of Travis CI
  • Loading branch information
nealkruis authored May 27, 2020
2 parents e854c98 + 7eaece5 commit a1a7ef0
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 42 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Build and Test

on: push

jobs:
build:
name: Build
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- name: Checkout
uses: actions/checkout@v1
with:
submodules: true
- name: Setup python
uses: actions/setup-python@v1
with:
python-version: 3.7
- name: Upgrade pip
run: python -m pip install --upgrade pip
- name: Install pipenv
run: python -m pip install pipenv
- name: Install project
run: pipenv install --dev
- name: Test
run: pipenv run pytest -v
- name: Generate web content
run: pipenv run python web/web-content.py

41 changes: 0 additions & 41 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Build Status](https://travis-ci.org/open205/toolkit-205.svg?branch=develop)](https://travis-ci.org/open205/toolkit-205)
[![Build and Test](https://github.com/open205/toolkit-205/workflows/Build%20and%20Test/badge.svg)](https://github.com/open205/toolkit-205/actions?query=workflow%3A%22Build+and+Test%22)

Toolkit 205
===========
Expand Down

0 comments on commit a1a7ef0

Please sign in to comment.