Skip to content

Commit

Permalink
Merge pull request #57 from PurplShip/modularize-packages-for-flexibi…
Browse files Browse the repository at this point in the history
…lity

2020.5.0 - modularize purplship
  • Loading branch information
danh91 authored May 1, 2020
2 parents ca597ae + 89652b6 commit f31793c
Show file tree
Hide file tree
Showing 282 changed files with 313 additions and 2,757 deletions.
Binary file added .DS_Store
Binary file not shown.
22 changes: 6 additions & 16 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This workflow will install Python dependencies, run tests and lint 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: PuprlShip Core Package
name: PuprlShip

on: [push]

Expand All @@ -19,19 +19,9 @@ jobs:
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
- name: Install and Run tests
run: |
python -m pip install --upgrade pip
pip install -r requirements.dev.txt
pip install -r requirements.txt
pip install coverage
pip install codecov
pip install .
- name: Test with Python unittest
run: |
coverage run --include='purplship/*' -m unittest -v -f
mypy purplship/ --no-strict-optional --no-warn-return-any --no-warn-unused-configs
coverage report -m
codecov
env:
CODECOV_TOKEN: f86de243-0032-429c-9fd2-254728e648e1
source ./script.sh
init &&
typecheck &&
test
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -100,4 +100,6 @@ ENV/
# mypy
.mypy_cache/

.idea/
.idea/

VERSION
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# PurplShip (Multi-carrier API Library)

![PuprlShip Core Package](https://github.com/PurplShip/purplship/workflows/PuprlShip%20Core%20Package/badge.svg)
[![codecov](https://codecov.io/gh/PurplShip/purplship/branch/master/graph/badge.svg)](https://codecov.io/gh/PurplShip/purplship)
![CI](https://github.com/PurplShip/purplship/workflows/PuprlShip/badge.svg)
[![License: LGPL v3](https://img.shields.io/badge/License-LGPL%20v3-blue.svg)](https://www.gnu.org/licenses/lgpl-3.0)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/python/black)

Expand Down Expand Up @@ -40,4 +39,4 @@ Please see [LICENSE.md](https://github.com/PurplShip/purplship/blob/master/LICEN

## Authors

- **Daniel K.** - *Initial work* - [@DanHK91](https://twitter.com/DanHK91) | [https://danielk.xyz](https://danielk.xyz/) | [PurplShip](https://purplship.com/open-source)
- **Daniel K.** - *Initial work* - [@DanHK91](https://github.com/DanH91) | [https://danielk.xyz](https://danielk.xyz/) | [PurplShip](https://purplship.com)
1 change: 1 addition & 0 deletions VERSION.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2020.5.0
165 changes: 0 additions & 165 deletions builds/freight/LICENSE

This file was deleted.

73 changes: 0 additions & 73 deletions builds/freight/README.md

This file was deleted.

8 changes: 0 additions & 8 deletions builds/freight/requirements.txt

This file was deleted.

Loading

0 comments on commit f31793c

Please sign in to comment.