Skip to content

Commit 8b98963

Browse files
authored
Merge pull request #48 from PurplShip/purplship-2020.3.0
PurplShip - 2020.3.0
2 parents d6a8ce3 + 3cdb3d8 commit 8b98963

File tree

322 files changed

+16082
-14852
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

322 files changed

+16082
-14852
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
2+
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
3+
4+
name: PuprlShip Core Package
5+
6+
on: [push]
7+
8+
jobs:
9+
build:
10+
11+
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
python-version: [3.7, 3.8]
15+
16+
steps:
17+
- uses: actions/checkout@v2
18+
- name: Set up Python ${{ matrix.python-version }}
19+
uses: actions/setup-python@v1
20+
with:
21+
python-version: ${{ matrix.python-version }}
22+
- name: Install dependencies
23+
run: |
24+
python -m pip install --upgrade pip
25+
pip install -r requirements.dev.txt
26+
pip install -r requirements.txt
27+
pip install coverage
28+
pip install codecov
29+
pip install .
30+
- name: Test with Python unittest
31+
run: |
32+
coverage run --include='purplship/*' -m unittest -v -f
33+
mypy purplship/ --no-strict-optional --no-warn-return-any --no-warn-unused-configs
34+
coverage report -m
35+
codecov
36+
env:
37+
CODECOV_TOKEN: f86de243-0032-429c-9fd2-254728e648e1

.template/carrier_datatype_mock.py

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

.template/mappers/carrier/__init__.py

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

.template/mappers/carrier/carrier_client.py

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

.template/mappers/carrier/carrier_mapper/__init__.py

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

.template/mappers/carrier/carrier_mapper/partials/__init__.py

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

.template/mappers/carrier/carrier_mapper/partials/interface.py

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

.template/mappers/carrier/carrier_mapper/partials/pickup.py

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

.template/mappers/carrier/carrier_mapper/partials/rate.py

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

0 commit comments

Comments
 (0)