Skip to content

Commit

Permalink
Merge pull request #23 from ECSIM/test_system
Browse files Browse the repository at this point in the history
Test System Changed to Github Actions
  • Loading branch information
sepandhaghighi authored Mar 14, 2021
2 parents 20b03dc + 75050a2 commit 622fff9
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 55 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# This workflow will install Python dependencies, run tests with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

name: CI

on: [push, pull_request]

jobs:
build:

runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
python-version: [3.5, 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 Requirements
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Notebook tests
run: |
python Notebooks/test.py
15 changes: 0 additions & 15 deletions .travis.yml

This file was deleted.

11 changes: 3 additions & 8 deletions Notebooks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,13 @@

<table style="border-collapse: collapse;">
<tr>
<td align="center"><b>Branch</b></td>
<td align="center"><b>Travis</b></td>
<td align="center"><b>Appveyor</b></td>
<td align="center">CI</td>
<td align="center"><img src="https://github.com/ECSIM/pem-dataset1/workflows/CI/badge.svg?branch=master"></td>
</tr>
<tr>
<td align="center"><b>master</b></td>
<td align="center"><a href="https://travis-ci.org/ECSIM/pem-dataset1"><img src="https://travis-ci.org/ECSIM/pem-dataset1.svg?branch=master"></a></td>
<td align="center"><a href="https://ci.appveyor.com/project/sepandhaghighi/pem-dataset1"><img src="https://ci.appveyor.com/api/projects/status/r87jdt0hm1i9rf9f?svg=true"></a></td>
</table>

## Interactive Notebooks

These **Notebooks** can be used interactively via the Binder service! Try it out now! :

[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/ECSIM/pem-dataset1/master)
[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/ECSIM/pem-dataset1/master)
32 changes: 0 additions & 32 deletions appveyor.yml

This file was deleted.

0 comments on commit 622fff9

Please sign in to comment.