Skip to content

Commit deb866c

Browse files
committed
renamed test workflow, added pypi installation test flow
1 parent 793b744 commit deb866c

File tree

2 files changed

+33
-1
lines changed

2 files changed

+33
-1
lines changed

.github/workflows/gh-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This workflow will install Python dependencies, run tests and lint with a single version of Python
22
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
33

4-
name: Python application
4+
name: Test
55

66
on:
77
push:
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Test PyPI Installation
2+
3+
on:
4+
push:
5+
branches: [ dev/jan ]
6+
pull_request:
7+
branches: [ dev/jan ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v2
16+
- name: Set up Python 3.6
17+
uses: actions/setup-python@v2
18+
with:
19+
python-version: 3.6
20+
- name: Install dependencies
21+
run: |
22+
python -m pip install --upgrade pip
23+
pip install flake8 pytest
24+
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\
25+
pip install tensorflow==2.2.0
26+
pip install ray[rllib,debug]==0.9.0
27+
- name: Install from PyPI
28+
run: |
29+
pip install -i https://test.pypi.org/pypi/ --extra-index-url https://pypi.org/simple mdp-playground
30+
- name: Basic functionality test
31+
run: |
32+
run-mdpp-experiment --help

0 commit comments

Comments
 (0)