Skip to content

added pytest wanings 2 #338

added pytest wanings 2

added pytest wanings 2 #338

Workflow file for this run

name: build-windows
on:
push:
branches:
- main
release:
types:
- published
jobs:
build:
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12']
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install CUDA
uses: Jimver/cuda-toolkit@v0.2.11
id: cuda-toolkit
with:
cuda: '12.1.0'
- name: Install package and dependencies
run: |
python -m pip install --upgrade pip
python -m pip install . -vvv
env:
USE_LONG_INT: 0
USE_UNSIGNED_LONG_INT: 0
USE_CBLAS: 0
USE_CUDA: 1
CUDA_DYNAMIC_LOADING: 1
- name: Test
if: (matrix.python-version != '3.12') # matplotlib still depends on deprecated distutils in the new python 3.12
run: |
python -m pip install --upgrade pytest
python -m pip install --upgrade pytest-cov
mv imate imate-DoNotImport
pytest
- name: Coverage
run: |
python -m pip install codecov
codecov