File tree Expand file tree Collapse file tree 2 files changed +47
-127
lines changed
Expand file tree Collapse file tree 2 files changed +47
-127
lines changed Original file line number Diff line number Diff line change 1+ name : test
2+
3+ on :
4+ push :
5+ pull_request :
6+
7+ concurrency :
8+ group : ${{ github.workflow }}-${{ github.ref }}
9+ cancel-in-progress : true
10+
11+ jobs :
12+ test :
13+ name : test (Python ${{ matrix.python-version }}, ${{ matrix.os }})
14+ runs-on : ${{ matrix.os }}
15+ strategy :
16+ matrix :
17+ os : [ "ubuntu-latest"]
18+ python-version : [ "3.10" ]
19+ fail-fast : false
20+ env :
21+ PYTHONUNBUFFERED : 1
22+ defaults :
23+ run :
24+ shell : micromamba-shell {0}
25+ steps :
26+ - uses : actions/checkout@v4
27+
28+ - uses : mamba-org/setup-micromamba@v1
29+ with :
30+ environment-name : jwql-${{ runner.os }}-py${{ matrix.python-version }}
31+ environment-file : environment-3.10.yml
32+ create-args : >-
33+ python=${{ matrix.python-version }}
34+ init-shell : none
35+ generate-run-shell : true
36+
37+ - run : pip install -e .[test] pytest-xdist
38+
39+ - run : pip list
40+
41+ - run : micromamba env export
42+
43+ # - run: python -c "import jwql; print('Version ' + jwql.__version__); print('Path ' + jwql.__path__[0])"
44+
45+ - run : |
46+ pytest -n auto pystrometry/tests
47+ pytest -n auto pystrometry/utils/tests
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments