File tree Expand file tree Collapse file tree 4 files changed +101
-0
lines changed Expand file tree Collapse file tree 4 files changed +101
-0
lines changed Original file line number Diff line number Diff line change @@ -163,3 +163,23 @@ jobs:
163163 with :
164164 name : ${{ matrix.browser-channel }}-${{ matrix.os }}
165165 path : pw-log.txt
166+ build-conda :
167+ name : Conda Build
168+ strategy :
169+ fail-fast : false
170+ matrix :
171+ os : [ubuntu-20.04, macos-10.15, windows-2019]
172+ runs-on : ${{ matrix.os }}
173+ steps :
174+ - uses : actions/checkout@v2
175+ with :
176+ fetch-depth : 0
177+ - name : Get conda
178+ uses : conda-incubator/setup-miniconda@v2
179+ with :
180+ python-version : 3.9
181+ channels : conda-forge
182+ - name : Prepare
183+ run : conda install conda-build conda-verify
184+ - name : Build
185+ run : conda build .
Original file line number Diff line number Diff line change 11name : Upload Python Package
22on :
3+ workflow_dispatch :
34 release :
45 types : [published]
56jobs :
2324 TWINE_USERNAME : ${{ secrets.PYPI_USERNAME }}
2425 TWINE_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
2526 run : twine upload dist/*
27+
28+ deploy-conda :
29+ strategy :
30+ matrix :
31+ os : [ubuntu-latest, windows-latest, macos-latest]
32+ runs-on : ${{ matrix.os }}
33+ steps :
34+ - uses : actions/checkout@v2
35+ with :
36+ fetch-depth : 0
37+ - name : Get conda
38+ uses : conda-incubator/setup-miniconda@v2
39+ with :
40+ python-version : 3.9
41+ channels : conda-forge
42+ - name : Prepare
43+ run : conda install anaconda-client conda-build conda-verify
44+ - name : Build and Upload
45+ env :
46+ ANACONDA_API_TOKEN : ${{ secrets.ANACONDA_API_TOKEN }}
47+ run : |
48+ conda config --set anaconda_upload yes
49+ conda build --user microsoft .
Original file line number Diff line number Diff line change 1+ python :
2+ - 3.7
3+ - 3.8
4+ - 3.9
Original file line number Diff line number Diff line change 1+ package :
2+ name : playwright
3+ version : " {{ environ.get('GIT_DESCRIBE_TAG') }}"
4+
5+ source :
6+ path : .
7+
8+ build :
9+ number : 0
10+ script : " {{ PYTHON }} -m pip install . --no-deps -vv"
11+ skip : true # [py<37]
12+ binary_relocation : False
13+ missing_dso_whitelist : " *"
14+ entry_points :
15+ - playwright = playwright.__main__:main
16+
17+ requirements :
18+ host :
19+ - python
20+ - wheel
21+ - pip
22+ - curl
23+ - setuptools_scm
24+ run :
25+ - python
26+ - greenlet >=0.4
27+ - pyee >=8.0.1
28+ - websockets >=8.1
29+ - typing_extensions # [py<39]
30+ test :
31+ requires :
32+ - pip
33+ imports :
34+ - playwright
35+ - playwright.sync_api
36+ - playwright.async_api
37+ commands :
38+ - pip check
39+ - playwright --help
40+
41+ about :
42+ home : https://github.com/microsoft/playwright-python
43+ license : Apache-2.0
44+ license_family : Apache
45+ license_file : LICENSE
46+ summary : Python version of the Playwright testing and automation library.
47+ description : |
48+ Playwright is a Python library to automate Chromium,
49+ Firefox and WebKit browsers with a single API. Playwright
50+ delivers automation that is ever-green, capable, reliable
51+ and fast.
52+ doc_url : https://playwright.dev/python/docs/intro/
53+ dev_url : https://github.com/microsoft/playwright-python
You can’t perform that action at this time.
0 commit comments