diff --git a/conda_build_config.yaml b/conda_build_config.yaml new file mode 100644 index 0000000..4b06461 --- /dev/null +++ b/conda_build_config.yaml @@ -0,0 +1,3 @@ +package: +- pytest-playwright +- pytest-playwright-asyncio diff --git a/pytest-playwright-asyncio/meta.yaml b/meta.yaml similarity index 88% rename from pytest-playwright-asyncio/meta.yaml rename to meta.yaml index 49f5d38..922c828 100644 --- a/pytest-playwright-asyncio/meta.yaml +++ b/meta.yaml @@ -3,7 +3,7 @@ channels: - conda-forge package: - name: "pytest-playwright-asyncio" + name: "{{ package }}" version: "{{ environ.get('GIT_DESCRIBE_TAG') | replace('v', '') }}" source: @@ -12,7 +12,7 @@ source: build: number: 0 noarch: python - script: "{{ PYTHON }} -m pip install . --no-deps -vv" + script: "{{ PYTHON }} -m pip install {{ package }} --no-deps -vv" requirements: host: diff --git a/pytest-playwright/meta.yaml b/pytest-playwright/meta.yaml deleted file mode 100644 index 262fe96..0000000 --- a/pytest-playwright/meta.yaml +++ /dev/null @@ -1,41 +0,0 @@ -channels: - - microsoft - - conda-forge - -package: - name: "pytest-playwright" - version: "{{ environ.get('GIT_DESCRIBE_TAG') | replace('v', '') }}" - -source: - path: . - -build: - number: 0 - noarch: python - script: "{{ PYTHON }} -m pip install . --no-deps -vv" - -requirements: - host: - - python >=3.9 - - setuptools-scm - - pip - run: - - python >=3.9 - - microsoft::playwright >=1.37.0 - - pytest >=6.2.4,<9.0.0 - - pytest-base-url >=1.0.0,<3.0.0 - - python-slugify >=6.0.0,<9.0.0 - -test: - imports: - - pytest_playwright - commands: - - pip check - requires: - - pip - -about: - home: https://github.com/microsoft/playwright-pytest - summary: A pytest wrapper with fixtures for Playwright to automate web browsers - license: Apache-2.0 - license_file: LICENSE