Skip to content

Commit

Permalink
Use GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
sevein committed Dec 7, 2020
1 parent 4ad9a5b commit 39820dd
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 10 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: "Test"
on:
pull_request:
push:
jobs:
test:
name: "Test"
runs-on: "ubuntu-18.04"
steps:
- name: "Check out repository"
uses: "actions/checkout@v2"
- name: "Set up Python"
uses: "actions/setup-python@v2"
- name: "Install requirements"
run: |
pip install -r requirements.txt
- name: "Run build test"
run: |
make test
10 changes: 0 additions & 10 deletions .travis.yml

This file was deleted.

4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -223,3 +223,7 @@ dummy:
$(SPHINXBUILD) -b dummy $(ALLSPHINXOPTS) $(BUILDDIR)/dummy
@echo
@echo "Build finished. Dummy builder generates no files."

.PHONY: test
test:
$(MAKE) html ALLSPHINXOPTS="-W --keep-going -n ."

0 comments on commit 39820dd

Please sign in to comment.