Run on Windows #6
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
name: Run on Windows | |
on: | |
schedule: | |
- cron: '0 8 * * 1' | |
# run workflow manually | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
python-version: [3.8] | |
steps: | |
- uses: conda-incubator/setup-miniconda@v2 | |
with: | |
activate-environment: test | |
auto-update-conda: false | |
python-version: ${{ matrix.python-version }} | |
- name: Activate conda and check versions | |
run: | | |
conda create --name testenv python=3.8 | |
conda activate testenv | |
conda --version | |
python --version | |
- name: Install Mercury | |
run: conda install -c conda-forge -n testenv mljar-mercury | |
- name: Run Mercury server | |
run: mercury run |