Skip to content

Commit

Permalink
Reduce scope of test for now
Browse files Browse the repository at this point in the history
  • Loading branch information
hoxbro committed May 18, 2024
1 parent 9ddb68e commit f077c03
Showing 1 changed file with 51 additions and 49 deletions.
100 changes: 51 additions & 49 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ jobs:
run: |
MATRIX=$(jq -nsc '{
"os": ["ubuntu-latest", "macos-latest", "windows-latest"],
"python-version": ["3.9", "3.10", "3.11", "3.12"],
# "python-version": ["3.9", "3.10", "3.11", "3.12"],
"python-version": ["3.12"],
"exclude": [{
"os": "windows-latest",
"python-version": "3.9"
Expand Down Expand Up @@ -122,6 +123,7 @@ jobs:
id: install
- name: check version
run: |
conda activate test-environment
python -c "import datashader as ds; print('Datashader', ds.__version__)"
python -c "import numpy; print('Numpy', numpy.__version__)"
- name: doit test_lint
Expand All @@ -148,51 +150,51 @@ jobs:
conda activate test-environment
codecov
test_pip:
name: Pip tests on ${{ matrix.os }} with Python ${{ matrix.python-version }}
needs: [pre_commit]
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ['ubuntu-latest', 'macos-latest']
python-version: ["3.12"]
steps:
- name: Checkout source
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Update setuptools
run: |
pip install --upgrade setuptools
- name: Install pyctdev
run: |
pip install pyctdev
- name: doit develop_install
run: |
doit ecosystem=pip develop_install -o tests -o examples
- name: doit env_capture
run: |
doit ecosystem=pip env_capture
- name: doit test_lint
if: runner.os == 'Linux'
run: |
doit ecosystem=pip test_lint
- name: doit test_unit
run: |
doit ecosystem=pip test_unit
- name: doit test_unit_nojit
run: |
doit ecosystem=pip test_unit_nojit
env:
NUMBA_DISABLE_JIT: 1
- name: doit test_examples
run: |
doit ecosystem=pip test_examples
- name: codecov
run: |
codecov
# test_pip:
# name: Pip tests on ${{ matrix.os }} with Python ${{ matrix.python-version }}
# needs: [pre_commit]
# runs-on: ${{ matrix.os }}
# strategy:
# fail-fast: false
# matrix:
# os: ['ubuntu-latest', 'macos-latest']
# python-version: ["3.12"]
# steps:
# - name: Checkout source
# uses: actions/checkout@v3
# with:
# fetch-depth: 0
# - name: Install Python ${{ matrix.python-version }}
# uses: actions/setup-python@v4
# with:
# python-version: ${{ matrix.python-version }}
# - name: Update setuptools
# run: |
# pip install --upgrade setuptools
# - name: Install pyctdev
# run: |
# pip install pyctdev
# - name: doit develop_install
# run: |
# doit ecosystem=pip develop_install -o tests -o examples
# - name: doit env_capture
# run: |
# doit ecosystem=pip env_capture
# - name: doit test_lint
# if: runner.os == 'Linux'
# run: |
# doit ecosystem=pip test_lint
# - name: doit test_unit
# run: |
# doit ecosystem=pip test_unit
# - name: doit test_unit_nojit
# run: |
# doit ecosystem=pip test_unit_nojit
# env:
# NUMBA_DISABLE_JIT: 1
# - name: doit test_examples
# run: |
# doit ecosystem=pip test_examples
# - name: codecov
# run: |
# codecov

0 comments on commit f077c03

Please sign in to comment.