Skip to content

Commit

Permalink
more dist cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
bollwyvl committed Nov 6, 2022
1 parent 5b91206 commit 1aec094
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 16 deletions.
28 changes: 17 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -244,12 +244,6 @@ jobs:
CI_ARTIFACT: 'sdist'
- python-version: '3.11'
CI_ARTIFACT: 'wheel'
- os: macos
CONDA_SHELL: bash -l {0}
- os: ubuntu
CONDA_SHELL: bash -l {0}
- os: windows
CONDA_SHELL: cmd /C CALL {0}
env:
TESTING_IN_CI: '1'
steps:
Expand Down Expand Up @@ -288,13 +282,25 @@ jobs:
name: ipydrawio-${{ github.run_number }}-dist
path: ./dist

- name: test (unit)
shell: ${{ matrix.CONDA_SHELL }}
- name: unit test (unix)
if: matrix.os != 'windows'
shell: bash -l {0}
run: doit test:pytest:* || doit test:pytest:*

- name: test (acceptance)
shell: ${{ matrix.CONDA_SHELL }}
run: doit test
- name: acceptance test (unix)
if: matrix.os != 'windows'
shell: bash -l {0}
run: doit test || doit test

- name: unit test (windows)
if: matrix.os == 'windows'
shell: cmd /C CALL {0}
run: doit test:pytest:* || doit test:pytest:*

- name: acceptance test (windows)
if: matrix.os == 'windows'
shell: cmd /C CALL {0}
run: doit test || doit test

- name: upload coverage
shell: bash -l {0}
Expand Down
15 changes: 10 additions & 5 deletions conda.recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,16 @@ outputs:
- ipywidgets >=7.6,<9
- python >=3.7
test:
source_files:
- tests
imports:
- ipydrawio_widgets
requires:
- pip
- pytest-console-scripts
- pytest-cov
- pytest
commands:
- pip check
- pytest -vv --pyargs ipydrawio_widgets
- pytest -vv
about:
home: https://github.com/deathbeds/ipydrawio
summary: Draw.io Diagrams as Jupyter Widgets (kernel only)
Expand All @@ -94,6 +95,8 @@ outputs:
- lxml
- python >=3.7
test:
source_files:
- tests
imports:
- ipydrawio
requires:
Expand All @@ -109,7 +112,7 @@ outputs:
- cat labextensions | grep -ie "@deathbeds/ipydrawio-webpack .*OK"
- cat labextensions | grep -ie "@deathbeds/ipydrawio-notebook .*OK"
- cat labextensions | grep -ie "@deathbeds/ipydrawio-jupyter-templates .*OK"
- pytest -vv --pyargs ipydrawio
- pytest -vv
about:
home: https://github.com/deathbeds/ipydrawio
summary: Draw.io Diagrams as Jupyter Widgets
Expand Down Expand Up @@ -143,6 +146,8 @@ outputs:
- python >=3.7
- requests_cache
test:
source_files:
- tests
imports:
- ipydrawio_export
requires:
Expand All @@ -159,7 +164,7 @@ outputs:
- jupyter serverextension list
- jupyter serverextension list 1>serverextensions 2>&1
- cat serverextensions | grep -ie "ipydrawio_export .*OK"
- pytest -vv --pyargs ipydrawio_export --script-launch-mode=subprocess # [unix]
- pytest -vv --script-launch-mode=subprocess # [unix]
about:
home: https://github.com/deathbeds/ipydrawio
summary: PDF export for IPyDrawio
Expand Down
1 change: 1 addition & 0 deletions py_packages/ipydrawio-export/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ classifiers =
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Topic :: Multimedia :: Graphics :: Editors :: Vector-Based
Topic :: Multimedia :: Graphics :: Presentation

Expand Down
1 change: 1 addition & 0 deletions py_packages/ipydrawio-widgets/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ classifiers =
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11

[options]
python_requires = >=3.7
Expand Down
1 change: 1 addition & 0 deletions py_packages/ipydrawio/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ classifiers =
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Topic :: Multimedia :: Graphics :: Editors :: Vector-Based
Topic :: Multimedia :: Graphics :: Presentation

Expand Down

0 comments on commit 1aec094

Please sign in to comment.