Skip to content
This repository has been archived by the owner on Jan 13, 2024. It is now read-only.

Commit

Permalink
CI
Browse files Browse the repository at this point in the history
  • Loading branch information
sdpython committed Jul 24, 2022
1 parent 0685824 commit d4b12de
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 6 additions & 0 deletions _unittests/ut_profiling/test_event_profiler.py
Expand Up @@ -4,8 +4,10 @@
import unittest
import inspect
import logging
import platform
from time import sleep, perf_counter
from pyquickhelper.pycode import ExtTestCase
from pyquickhelper.pycode.ci_helper import is_travis_or_appveyor
from cpyquickhelper.profiling import (
EventProfiler, WithEventProfiler)
from cpyquickhelper.profiling.event_profiler import EventProfilerDebug
Expand Down Expand Up @@ -286,6 +288,10 @@ def f4():
self.assertIn('sleep', set(df['name']))
self.assertIn('time', set(df['mod']))

@unittest.skipIf(
platform.system() == 'Windows' and
is_travis_or_appveyor() == 'azurepipe',
reason='crash')
def test_profiling_c(self):

def f1(t):
Expand Down
4 changes: 0 additions & 4 deletions azure-pipelines.yml
Expand Up @@ -43,14 +43,12 @@ jobs:
- script: |
python -m pip install cibuildwheel
export CIBW_MANYLINUX_X86_64_IMAGE="manylinux_2_24"
export CIBW_BEFORE_BUILD="pip install ."
export CIBW_BEFORE_BUILD="pip install pybind11 cython numpy scipy pyquickhelper"
export CIBW_BUILD="cp310-manylinux_x86_64"
python -m cibuildwheel --output-dir dist/wheelhouse310 --platform linux
displayName: 'Build Package manylinux_x_y_py310'
- script: |
export CIBW_MANYLINUX_X86_64_IMAGE="manylinux2014"
export CIBW_BEFORE_BUILD="pip install ."
export CIBW_BEFORE_BUILD="pip install pybind11 cython numpy scipy pyquickhelper"
export CIBW_MANYLINUX_X86_64_IMAGE=quay.io/pypa/manylinux2014_x86_64:latest
export CIBW_BUILD="cp37-manylinux_x86_64 cp38-manylinux_x86_64 cp39-manylinux_x86_64"
Expand Down Expand Up @@ -88,7 +86,6 @@ jobs:
displayName: 'Runs Unit Tests'
- script: |
python -m pip install cibuildwheel
set CIBW_BEFORE_BUILD=pip install .
set CIBW_BEFORE_BUILD="pip install pybind11 cython numpy scipy pyquickhelper"
set CIBW_BUILD="cp37-win_amd64 cp38-win_amd64 cp39-win_amd64 cp310-win_amd64"
python -m cibuildwheel --output-dir dist/wheelhouse
Expand Down Expand Up @@ -166,7 +163,6 @@ jobs:
displayName: 'Runs Unit Tests'
- script: |
python -m pip install cibuildwheel
export CIBW_BEFORE_BUILD="pip install ."
export CIBW_BEFORE_BUILD="pip install pybind11 cython numpy scipy pyquickhelper pyquicksetup"
export CIBW_BUILD="cp37-macosx_x86_64 cp38-macosx_x86_64 cp39-macosx_x86_64 cp310-macosx_x86_64"
python -m cibuildwheel --output-dir dist/wheelhouse
Expand Down

0 comments on commit d4b12de

Please sign in to comment.