Skip to content

Commit 48e9802

Browse files
committed
ci: don't run plot tests
1 parent a489c0e commit 48e9802

File tree

2 files changed

+12
-10
lines changed

2 files changed

+12
-10
lines changed

.github/workflows/test_suite.yaml

+10-9
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,6 @@ jobs:
4545
run: |
4646
python -m pytest --ignore tests/test_plot.py --cov=matvis --cov-config=.coveragerc --cov-report xml:./coverage.xml --durations=25 --log-cli-level=${{ env.LOG_LEVEL}}
4747
48-
- name: Run Plotting Tests
49-
if: matrix.python-version != '3.9' || matrix.os == 'macos-latest'
50-
run: |
51-
python -m pytest tests/test_plot.py --cov=matvis --cov-config=.coveragerc --cov-append --cov-report xml:./coverage.xml --durations=25 --log-cli-level=INFO
52-
5348
- name: Upload coverage report
5449
uses: codecov/[email protected]
5550
with:
@@ -65,7 +60,9 @@ jobs:
6560
OS: Ubuntu
6661
name: Self-Hosted Tests (GPU)
6762
runs-on: [self-hosted, gpu]
68-
63+
defaults:
64+
run:
65+
shell: bash -el {0}
6966
steps:
7067
- name: Add Home to PATH
7168
run: |
@@ -76,14 +73,18 @@ jobs:
7673
with:
7774
node-version: 16
7875

79-
- uses: actions/checkout@v3.6.0
76+
- uses: actions/checkout@v4
8077
with:
8178
fetch-depth: 0
8279

83-
- name: Setup Python
84-
uses: actions/setup-python@v4
80+
- uses: conda-incubator/setup-miniconda@v3
8581
with:
8682
python-version: ${{ env.PYTHON }}
83+
mamba-version: "*"
84+
channels: conda-forge,defaults
85+
channel-priority: true
86+
activate-environment: testenv
87+
environment-file: ci/test-env.yml
8788

8889
- name: Install
8990
run: |

ci/test-env.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: tests
1+
name: testenv
22
channels:
33
- conda-forge
44
- defaults
@@ -15,6 +15,7 @@ dependencies:
1515
- h5py>=3.2
1616
- ffmpeg
1717
- pyuvdata # For testing when using UVBeam object
18+
- cupy
1819
- pip:
1920
- pyuvsim[sim]>=1.2
2021
- pyradiosky>=0.1.1

0 commit comments

Comments
 (0)