Skip to content

Commit f4598cc

Browse files
authored
Merge pull request #434 from Shopify/melaniew/github-actions-test
Add github actions
2 parents 0db4573 + 33def19 commit f4598cc

File tree

3 files changed

+32
-28
lines changed

3 files changed

+32
-28
lines changed

.github/workflows/build.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
name: Python ${{ matrix.version }}
11+
strategy:
12+
matrix:
13+
version: [2.7, 3.6, 3.8]
14+
15+
steps:
16+
- uses: actions/checkout@v2
17+
- name: Set up Python ${{ matrix.python-version }}
18+
uses: actions/setup-python@v2
19+
with:
20+
python-version: ${{ matrix.version }}
21+
- name: Install Dependencies
22+
run: |
23+
python -m pip install --upgrade pip
24+
pip install pytest mock
25+
python setup.py install
26+
- name: Run Tests
27+
run: python -m pytest -v
28+

.travis.yml

Lines changed: 0 additions & 27 deletions
This file was deleted.

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Shopify API
22

3-
[![Build Status](https://travis-ci.org/Shopify/shopify_python_api.svg?branch=master)](https://travis-ci.org/Shopify/shopify_python_api)
3+
[![Build Status](https://github.com/Shopify/shopify_python_api/workflows/CI/badge.svg)](https://github.com/Shopify/shopify_python_api/actions)
44
[![PyPI version](https://badge.fury.io/py/ShopifyAPI.svg)](https://badge.fury.io/py/ShopifyAPI)
55

66
The [Shopify Admin API](https://shopify.dev/docs/admin-api) Python Library
@@ -10,6 +10,9 @@ The [Shopify Admin API](https://shopify.dev/docs/admin-api) Python Library
1010
### Requirements
1111
You should be signed up as a partner on the [Shopify Partners Dashboard](https://partners.shopify.com) so that you can create and manage shopify applications.
1212

13+
#### Python version
14+
This library requires Python 3.8 or lower.
15+
1316
### Installation
1417

1518
To easily install or upgrade to the latest release, use [pip](http://www.pip-installer.org/).

0 commit comments

Comments
 (0)