feat: Deprecate preserve_scalars method in misc.py (#603) #1257
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: "Tests with minimal requirements" | |
on: [push] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [macos-12, ubuntu-latest] # windows-latest | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 60 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.9' | |
- name: Install dependencies | |
# install packages in the exact version given in requirements.txt | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r tests/requirements_min.txt | |
pip install -r tests/requirements.txt | |
- name: Test with pytest | |
env: | |
NUMBA_WARNINGS: 1 | |
MPLBACKEND: agg | |
run: | | |
cd scripts | |
python run_tests.py --unit --runslow --num_cores auto --showconfig |