-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #640 from nkaretnikov/windows
Windows support
- Loading branch information
Showing
20 changed files
with
253 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,13 +19,14 @@ jobs: | |
name: "unit-test conda-store-server" | ||
strategy: | ||
matrix: | ||
# cannot run on windows due to needing fake-chroot for conda-docker | ||
os: ["ubuntu", "macos"] | ||
os: ["ubuntu", "macos", "windows"] | ||
include: | ||
- os: ubuntu | ||
environment-file: conda-store-server/environment-dev.yaml | ||
- os: macos | ||
environment-file: conda-store-server/environment-macos-dev.yaml | ||
- os: windows | ||
environment-file: conda-store-server/environment-windows-dev.yaml | ||
runs-on: ${{ matrix.os }}-latest | ||
defaults: | ||
run: | ||
|
@@ -41,6 +42,16 @@ jobs: | |
environment-file: ${{ matrix.environment-file }} | ||
miniforge-version: latest | ||
|
||
# This fixes a "DLL not found" issue importing ctypes from the hatch env | ||
- name: Reinstall Python 3.10 on Windows runner | ||
uses: nick-fields/[email protected] | ||
with: | ||
timeout_minutes: 9999 | ||
max_attempts: 6 | ||
command: | ||
conda install --channel=conda-forge --quiet --yes python=${{ matrix.python }} | ||
if: matrix.os == 'windows' | ||
|
||
- name: "Linting Checks 🧹" | ||
run: | | ||
hatch env run -e dev lint | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
name: conda-store-server-dev | ||
channels: | ||
- conda-forge | ||
- microsoft | ||
- nodefaults | ||
dependencies: | ||
- python ==3.10 | ||
# conda builds | ||
- conda ==23.5.2 | ||
- python-docker | ||
- conda-pack | ||
- conda-lock >=1.0.5 | ||
- mamba | ||
- conda-package-handling | ||
# web server | ||
- celery | ||
- flower | ||
- redis-py | ||
- sqlalchemy<=1.4.47 | ||
- psycopg2 | ||
- pymysql | ||
- requests | ||
- uvicorn | ||
- fastapi | ||
- pydantic < 2.0 | ||
- pyyaml | ||
- traitlets | ||
- yarl | ||
- pyjwt | ||
- filelock | ||
- itsdangerous | ||
- jinja2 | ||
- python-multipart | ||
- alembic | ||
# artifact storage | ||
- minio | ||
# CLI | ||
- typer | ||
|
||
# dev dependencies | ||
- aiohttp>=3.8.1 | ||
- hatch | ||
- pytest | ||
- pytest-celery | ||
- pytest-mock | ||
- black ==22.3.0 | ||
- flake8 | ||
- ruff | ||
- sphinx | ||
- myst-parser | ||
- sphinx-panels | ||
- sphinx-copybutton | ||
- pydata-sphinx-theme | ||
- playwright | ||
- docker-compose | ||
- pip | ||
|
||
- pip: | ||
- pytest-playwright |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.