Skip to content

Commit

Permalink
Move from TravisCI to GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Johannes Bechberger committed Jul 7, 2021
1 parent 3c98a1a commit 1946ebc
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 26 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: build and test
on:
push:
schedule:
- cron: '0 3 * * *'
pull_request:
jobs:
nix:
runs-on: [ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v2.3.4
- uses: cachix/install-nix-action@v13
- run: nix-build --arg src ./.
pip:
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
run: |
sudo ./install_dependencies.sh
pip install --upgrade pip
pip3 install -e .
- name: Test
run: ./test.sh
- name: Test 2
run: TEMCI_TEST_CMD=1 ./test.sh
24 changes: 0 additions & 24 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
Expand Up @@ -3,8 +3,8 @@
temci
=====

.. image:: https://travis-ci.org/parttimenerd/temci.svg?branch=master
:target: https://travis-ci.org/parttimenerd/temci
.. image:: https://github.com/parttimenerd/temci/actions/workflows/test/badge.svg
:target: https://github.com/parttimenerd/temci/actions/workflows/test.yml

.. image:: https://readthedocs.org/projects/temci/badge/?version=latest&style=plain
:target: https://temci.readthedocs.org
Expand Down

0 comments on commit 1946ebc

Please sign in to comment.