update .env #8
This file contains hidden or 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
| ### Test Installing DEVSimPy on Windows (latest), using conda | |
| ### To use from DEVSimPy local repo: | |
| ### 1. lauch Docker | |
| ### 2. open a powershell terminal | |
| ### 3. execute: act -j build-windows -P windows-latest=ghcr.io/catthehacker/ubuntu:act-latest | |
| ### 4. if act is not installed, execute: winget install nektos.act | |
| ### 5. restart the terminal | |
| name: Windows build | |
| on: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| build-windows: | |
| runs-on: windows-latest # Windows-only runner | |
| strategy: | |
| max-parallel: 4 | |
| fail-fast: true # Stop all jobs if one fails | |
| matrix: | |
| python-version: ['3.10','3.11','3.12','3.13'] | |
| defaults: | |
| run: | |
| shell: bash -el {0} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python with Miniconda | |
| uses: conda-incubator/setup-miniconda@v3 | |
| with: | |
| miniconda-version: latest | |
| conda-version: "*" | |
| channels: conda-forge,defaults | |
| channel-priority: true | |
| activate-environment: anaconda-client-env | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install conda dependencies | |
| run: | | |
| conda install -y -c conda-forge python=${{ matrix.python-version }} wxpython>=4.2.2 | |
| conda info -a | |
| conda list | |
| - name: Install dependencies with pip | |
| run: | | |
| python -m pip install psutil pyYAML PyPubSub ruamel.yaml matplotlib | |
| - name: Test DEVSimPy on Windows Server | |
| run: | | |
| python devsimpy-nogui.py examples/model0/model0.dsp 10 |