Skip to content

Commit 080ff4a

Browse files
committed
Fix CI
1 parent e98654e commit 080ff4a

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

ci/azure_template_posix.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,6 @@ jobs:
4949
FORMULAIC: 1.2.0
5050
XXHASH: true
5151
PYARROW: true
52-
python310_no_cython:
53-
python.version: '3.10'
5452
python311_latest:
5553
python.version: '3.11'
5654
XXHASH: true
@@ -140,16 +138,16 @@ jobs:
140138
- script: |
141139
echo "Testing editable install"
142140
export COVERAGE_OPTS="--cov=linearmodels --cov-report xml:coverage.xml --cov-report term"
143-
echo pytest -m "${PYTEST_PATTERN}" --junitxml=junit/test-results.xml -n auto --durations=25 ${COVERAGE_OPTS} linearmodels/tests
144-
pytest -m "${PYTEST_PATTERN}" --junitxml=junit/test-results.xml -n auto --durations=25 ${COVERAGE_OPTS} linearmodels/tests
141+
echo pytest -m "${PYTEST_PATTERN}" --junitxml=junit/test-results.xml -n auto --durations=25 ${COVERAGE_OPTS} ${BUILD_FLAGS} linearmodels/tests
142+
pytest -m "${PYTEST_PATTERN}" --junitxml=junit/test-results.xml -n auto --durations=25 ${COVERAGE_OPTS} ${BUILD_FLAGS} linearmodels/tests
145143
displayName: 'Run tests (editable)'
146144
condition: and(and(ne(variables['test.wheel'], 'true'), ne(variables['test.sdist'], 'true')), ne(variables['pip.pre'], 'true'))
147145
148146
- script: |
149147
echo "Testing pip-pre"
150148
export COVERAGE_OPTS="--cov=linearmodels --cov-report xml:coverage.xml --cov-report term"
151-
echo pytest -m "${PYTEST_PATTERN}" --junitxml=junit/test-results.xml -n auto --durations=25 ${COVERAGE_OPTS} linearmodels/tests
152-
pytest -m "${PYTEST_PATTERN}" --junitxml=junit/test-results.xml -n auto --durations=25 ${COVERAGE_OPTS} linearmodels/tests
149+
echo pytest -m "${PYTEST_PATTERN}" --junitxml=junit/test-results.xml -n auto --durations=25 ${COVERAGE_OPTS} ${BUILD_FLAGS} linearmodels/tests
150+
pytest -m "${PYTEST_PATTERN}" --junitxml=junit/test-results.xml -n auto --durations=25 ${COVERAGE_OPTS} ${BUILD_FLAGS} linearmodels/tests
153151
displayName: 'Run tests (pip pre)'
154152
condition: eq(variables['pip.pre'], 'true')
155153
continueOnError: true

0 commit comments

Comments
 (0)