Skip to content

Commit 6b1edf6

Browse files
authored
Merge pull request #29 from GNiendorf/dev
Set up CI pipeline with GitHub Actions
2 parents 459fe9b + ff9c39c commit 6b1edf6

File tree

3 files changed

+34
-26
lines changed

3 files changed

+34
-26
lines changed

.github/workflows/python-tests.yml

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Python Tests
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v2
15+
16+
- name: Set up Miniconda
17+
uses: conda-incubator/setup-miniconda@v2
18+
with:
19+
auto-update-conda: true
20+
python-version: 3.7
21+
22+
- name: Install dependencies
23+
shell: bash -l {0}
24+
run: |
25+
conda create -n tracepyci python=3.7 --yes
26+
conda activate tracepyci
27+
conda install --yes numpy scipy matplotlib scikit-learn pandas pytest pytest-cov
28+
pip install .
29+
30+
- name: Run tests
31+
shell: bash -l {0}
32+
run: |
33+
conda activate tracepyci
34+
pytest tests/

.travis.yml

-24
This file was deleted.

README.md

-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
## <img alt="TracePy" src="https://user-images.githubusercontent.com/25272611/62305283-dc62a300-b43c-11e9-8436-d88c8555b110.png" height="60">
22

3-
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/454c6504e63f4accaa9353e7dcfda00e)](https://app.codacy.com/app/gavinniendorf/tracepy?utm_source=github.com&utm_medium=referral&utm_content=GNiendorf/tracepy&utm_campaign=Badge_Grade_Dashboard)
4-
[![Build Status](https://travis-ci.org/GNiendorf/tracepy.svg?branch=master)](https://travis-ci.org/GNiendorf/tracepy)
53
[![Documentation Status](https://readthedocs.org/projects/tracepy/badge/?version=latest)](https://tracepy.readthedocs.io/en/latest/?badge=latest)
64
[![PyPI version](https://badge.fury.io/py/tracepy.svg)](https://badge.fury.io/py/tracepy)
75

0 commit comments

Comments
 (0)