Skip to content

Commit

Permalink
Merge pull request #29 from GNiendorf/dev
Browse files Browse the repository at this point in the history
Set up CI pipeline with GitHub Actions
  • Loading branch information
GNiendorf authored Sep 1, 2024
2 parents 459fe9b + ff9c39c commit 6b1edf6
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 26 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/python-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Python Tests

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Set up Miniconda
uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
python-version: 3.7

- name: Install dependencies
shell: bash -l {0}
run: |
conda create -n tracepyci python=3.7 --yes
conda activate tracepyci
conda install --yes numpy scipy matplotlib scikit-learn pandas pytest pytest-cov
pip install .
- name: Run tests
shell: bash -l {0}
run: |
conda activate tracepyci
pytest tests/
24 changes: 0 additions & 24 deletions .travis.yml

This file was deleted.

2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
## <img alt="TracePy" src="https://user-images.githubusercontent.com/25272611/62305283-dc62a300-b43c-11e9-8436-d88c8555b110.png" height="60">

[![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)
[![Build Status](https://travis-ci.org/GNiendorf/tracepy.svg?branch=master)](https://travis-ci.org/GNiendorf/tracepy)
[![Documentation Status](https://readthedocs.org/projects/tracepy/badge/?version=latest)](https://tracepy.readthedocs.io/en/latest/?badge=latest)
[![PyPI version](https://badge.fury.io/py/tracepy.svg)](https://badge.fury.io/py/tracepy)

Expand Down

0 comments on commit 6b1edf6

Please sign in to comment.