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 f5ceafc
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 24 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: build and test
on:
push:
branches:
- *
schedule:
- cron: '0 3 * * *'
pull_request:
branches:
- *
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
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.

0 comments on commit f5ceafc

Please sign in to comment.