Bump pypa/gh-action-pypi-publish from 1.8.7 to 1.8.8 (#664) #107
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: CI - Windows | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
windows-ci: | |
name: "Win - tests - Python ${{ matrix.PYTHON_VERSION }}" | |
runs-on: windows-latest | |
env: | |
CI: True | |
strategy: | |
fail-fast: true | |
matrix: | |
PYTHON_VERSION: ['3.10'] | |
steps: | |
- name: Set git to use LF | |
run: | | |
git config --global core.autocrlf false | |
git config --global core.eol lf | |
- name: Checkout branch | |
uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.head_ref }} | |
- uses: conda-incubator/setup-miniconda@3b0f2504dd76ef23b6d31f291f4913fb60ab5ff3 | |
with: | |
python-version: ${{ matrix.PYTHON_VERSION }} | |
miniforge-variant: Mambaforge | |
miniforge-version: 4.10.0-0 | |
use-mamba: true | |
environment-file: environment.yml | |
activate-environment: glum | |
- name: Install benchmark dependencies | |
shell: pwsh | |
run: | | |
mamba env update -n glum --file environment-benchmark.yml | |
- name: Run Unit Tests | |
shell: pwsh | |
run: | | |
python -m pip install -e . --no-deps -vv --no-use-pep517 --disable-pip-version-check | |
pytest tests --doctest-modules src/glum/ |