Skip to content

Commit

Permalink
Update tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
riga committed Oct 13, 2023
1 parent 745b0bd commit 521193d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 13 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/lint_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version:
- "3.7"
Expand Down Expand Up @@ -95,21 +96,13 @@ jobs:
with:
persist-credentials: false

- name: Checkout order-data 📊
uses: actions/checkout@v4
with:
name: cms-cat/order-data
persist-credentials: false

- name: Install dependencies ☕️
run: |
pip install -U pip setuptools
pip install .[dev]
- name: Run coverage test 🎢
run: |
export ORDER_DATA_LOCATION="${PWD}/order-data"
export ORDER_COLORS="False"
pytest --cov=order --cov-report xml:coverage.xml tests
- name: Upload report 🔝
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/publish_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@ jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout ⬇️
uses: actions/checkout@v4
with:
persist-credentials: false

- name: Setup python 🐍
uses: actions/setup-python@v4
with:
python-version: 3.9

- name: Checkout ⬇️
uses: actions/checkout@v4
with:
persist-credentials: false

- name: Install dependencies ☕️
run: |
pip install -U pip setuptools
Expand Down

0 comments on commit 521193d

Please sign in to comment.