Skip to content

Commit c856147

Browse files
committed
add weekly test, update docs reqs
1 parent 224a95c commit c856147

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed

.github/workflows/weekly-test.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# weekly test, runs mondays at 2:30AM
2+
name: weekly_build
3+
4+
on:
5+
schedule:
6+
- cron: "30 2 * * 1"
7+
8+
jobs:
9+
test:
10+
name: ${{ matrix.platform }} py${{ matrix.python-version }}
11+
runs-on: ${{ matrix.platform }}
12+
strategy:
13+
matrix:
14+
platform: [ubuntu-latest, windows-latest, macos-latest]
15+
python-version: ['3.10']
16+
17+
steps:
18+
- uses: actions/checkout@v3
19+
- name: Set up Python ${{ matrix.python-version }}
20+
uses: actions/setup-python@v4
21+
with:
22+
python-version: ${{ matrix.python-version }}
23+
- name: Install dependencies
24+
run: |
25+
python -m pip install --upgrade pip
26+
python -m pip install -r requirements_dev.txt
27+
- name: Setup yt_xarray
28+
run: python -m pip install -e .
29+
- name: Run Tests
30+
run: pytest -v .

.readthedocs.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@ python:
1616
install:
1717
- requirements: requirements.txt
1818
- requirements: requirements_dev.txt
19+
- requirements: requirements_docs.txt

0 commit comments

Comments
 (0)