File tree Expand file tree Collapse file tree 2 files changed +53
-0
lines changed
Expand file tree Collapse file tree 2 files changed +53
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Update Submodule and Run Tests
2+
3+ on :
4+ schedule :
5+ - cron : ' 0 11 * * 4' # Runs weekly on Thursday at 11 am
6+
7+ env :
8+ PY_COLORS : 1
9+ PYTEST_ADDOPTS : " --numprocesses=logical"
10+
11+ permissions :
12+ contents : write
13+ pull-requests : write
14+
15+ jobs :
16+ pytest :
17+ strategy :
18+ matrix :
19+ python-version : ["3.12"]
20+ os : [ubuntu-latest]
21+ runs-on : ${{ matrix.os }}
22+ steps :
23+ - uses : actions/checkout@v5
24+ - uses : actions/setup-python@v6
25+ with :
26+ python-version : ${{ matrix.python-version }}
27+ - name : Install uv
28+ uses : astral-sh/setup-uv@v7
29+ with :
30+ enable-cache : " true"
31+ cache-suffix : pytest-${{ matrix.python-version }}
32+ cache-dependency-glob : " pyproject.toml"
33+ - name : install-reqs
34+ run : |
35+ git submodule update --init --recursive
36+ uv pip install -e narwhals --system
37+ uv pip install -e . --group tests --system
38+ - name : run-submodule-update
39+ run : . utils/submodule_update.sh
40+ - name : update-tests
41+ run : python update_run_tests.py
42+ - name : create-pull-request
43+ uses : peter-evans/create-pull-request@v8
44+ with :
45+ commit-message : ' chore: auto-update tests and submodule'
46+ title : ' chore: auto-update tests and submodule'
47+ branch : chore/test-and-submodule-auto-updates
48+ delete-branch : true
Original file line number Diff line number Diff line change @@ -30,6 +30,11 @@ and also fetch and install Narwhals as a git submodule:
3030git submodule update --init --recursive
3131uv pip install -e narwhals
3232```
33+ Keep daft to the latest version:
34+
35+ ``` console
36+ uv pip install daft -U
37+ ```
3338
3439To run the tests:
3540
You can’t perform that action at this time.
0 commit comments