Skip to content

fix y-labels

fix y-labels #644

name: Windows-build
on:
push:
branches:
- 'main'
- 'develop'
- 'releases/**'
tags:
- '*'
pull_request:
branches:
- 'main'
- 'develop'
- 'releases/**'
jobs:
build:
name: Testing Windows build
runs-on: "windows-latest"
defaults:
run:
shell: cmd /C call {0}
steps:
- uses: actions/checkout@v3
- name: Setup miniconda
uses: conda-incubator/setup-miniconda@v2
with:
environment-file: windows.yml
activate-environment: ml
auto-activate-base: false
- name: Set cache date
run: echo "DATE=$(date +'%Y%m%d')" >> $GITHUB_ENV
- uses: actions/cache@v2
id: cache
env:
CACHE_NUMBER: 0
with:
path: ${{ env.CONDA }}/envs
key: windows-build-${{ hashFiles('windows.yml') }}-${{ env.DATE }}
- name: Update environment
run: conda env update -n ml -f windows.yml
if: steps.cache.outputs.cache-hit != 'true'
- name: Test environment
run: >-
conda info && conda list && printenv
# - name: Test IO modules
# run: python -m pytest -vvv tests/test_io.py
#
# - name: Test embeddings modules
# run: python -m pytest -vvv tests/test_embeddings.py
#
# - name: Test AO modules
# run: python -m pytest -vvv tests/test_ao.py