Skip to content

Commit 128da0a

Browse files
authored
Merge pull request #4 from algorithmiaio/pr-testing
added a PR based CI test to help merge
2 parents 1816a6e + f278f4f commit 128da0a

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/python-publish.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# This workflow will upload a Python Package using Twine when a release is created
2+
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
3+
4+
name: Upload Python Package
5+
6+
on:
7+
pull_request:
8+
9+
jobs:
10+
run_tests:
11+
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: checkout
16+
uses: actions/checkout@master
17+
- uses: actions/setup-python@v2
18+
with:
19+
python-version: '3.7.x' # Version range or exact version of a Python version to use, using SemVer's version range syntax
20+
architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified
21+
- name: continous integration
22+
env:
23+
ALGORITHMIA_API_KEY: ${{ secrets.PROD_API_KEY }}
24+
run : |
25+
pip install -r requirements.txt
26+
python run_tests.py

0 commit comments

Comments
 (0)