Skip to content

Commit

Permalink
Merge pull request #120 from Szubie/github-actions
Browse files Browse the repository at this point in the history
GitHub actions
  • Loading branch information
Szubie authored Nov 6, 2023
2 parents 9ab64f5 + 1d26a6a commit 254f1f2
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 23 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Test

on:
workflow_dispatch:
pull_request:
push:
branches:
master

permissions:
contents: read
pull-requests: read

# This allows a subsequently queued workflow run to interrupt previous runs
concurrency:
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
cancel-in-progress: true


jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- name: Check out repo
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
cache: 'pip'
- name: Install dependencies
run: pip install .[visualization] pytest tensorflow
- name: Run tests
run: pytest tests
16 changes: 0 additions & 16 deletions .travis.yml

This file was deleted.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![DOI](https://joss.theoj.org/papers/10.21105/joss.01596/status.svg)](https://doi.org/10.21105/joss.01596) [![DOI](https://zenodo.org/badge/144551119.svg)](https://zenodo.org/badge/latestdoi/144551119) [![Documentation Status](https://readthedocs.org/projects/bering-ivis/badge/?version=latest)](https://bering-ivis.readthedocs.io/en/latest/?badge=latest) [![Downloads](https://pepy.tech/badge/ivis/month)](https://pepy.tech/project/ivis) [![Build Status](https://travis-ci.org/beringresearch/ivis.svg?branch=master)](https://travis-ci.org/beringresearch/ivis)
[![DOI](https://joss.theoj.org/papers/10.21105/joss.01596/status.svg)](https://doi.org/10.21105/joss.01596) [![DOI](https://zenodo.org/badge/144551119.svg)](https://zenodo.org/badge/latestdoi/144551119) [![Documentation Status](https://readthedocs.org/projects/bering-ivis/badge/?version=latest)](https://bering-ivis.readthedocs.io/en/latest/?badge=latest) [![Downloads](https://pepy.tech/badge/ivis/month)](https://pepy.tech/project/ivis) [![Build Status](https://github.com/beringresearch/ivis/workflows/Test/badge.svg)](https://github.com/beringresearch/ivis/workflows/Test/badge.svg)

# ivis

Expand Down Expand Up @@ -70,4 +70,4 @@ model = Ivis(embedding_dims=2, k=15)
embeddings = model.fit_transform(X_scaled)
```

Copyright 2022 Bering Limited
Copyright 2023 Bering Limited
4 changes: 0 additions & 4 deletions ci_scripts/install.sh

This file was deleted.

1 change: 0 additions & 1 deletion ci_scripts/test.sh

This file was deleted.

0 comments on commit 254f1f2

Please sign in to comment.