mirror of
https://github.com/dwinkler1/np.git
synced 2026-02-19 14:30:59 -05:00
Add additional checks for Quarto, UV, and basedpyright; fix path handling
Co-authored-by: dwinkler1 <22460147+dwinkler1@users.noreply.github.com>
This commit is contained in:
parent
0514ba1283
commit
4cd5a343e6
1 changed files with 16 additions and 2 deletions
18
.github/workflows/check.yml
vendored
18
.github/workflows/check.yml
vendored
|
|
@ -67,6 +67,11 @@ jobs:
|
||||||
cd templates/rde
|
cd templates/rde
|
||||||
nix develop --command bash -c "p-r -e 'print(1+1)'"
|
nix develop --command bash -c "p-r -e 'print(1+1)'"
|
||||||
|
|
||||||
|
- name: Test Quarto is available in R environment
|
||||||
|
run: |
|
||||||
|
cd templates/rde
|
||||||
|
nix develop --command bash -c "quarto --version"
|
||||||
|
|
||||||
# Test Neovim functionality
|
# Test Neovim functionality
|
||||||
- name: Test Neovim command is available
|
- name: Test Neovim command is available
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -86,10 +91,9 @@ jobs:
|
||||||
|
|
||||||
- name: Test p-initProject creates project structure
|
- name: Test p-initProject creates project structure
|
||||||
run: |
|
run: |
|
||||||
cd templates/rde
|
|
||||||
mkdir -p /tmp/test-project
|
mkdir -p /tmp/test-project
|
||||||
cd /tmp/test-project
|
cd /tmp/test-project
|
||||||
nix develop /home/runner/work/np/np/templates/rde --command bash -c "p-initProject"
|
nix develop $GITHUB_WORKSPACE/templates/rde --command bash -c "p-initProject"
|
||||||
# Verify directories were created
|
# Verify directories were created
|
||||||
test -d data/raw || exit 1
|
test -d data/raw || exit 1
|
||||||
test -d data/processed || exit 1
|
test -d data/processed || exit 1
|
||||||
|
|
@ -153,6 +157,16 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
cd /tmp/test-python
|
cd /tmp/test-python
|
||||||
nix develop --command bash -c "p-py -c 'print(1+1)'"
|
nix develop --command bash -c "p-py -c 'print(1+1)'"
|
||||||
|
|
||||||
|
- name: Test UV package manager is available
|
||||||
|
run: |
|
||||||
|
cd /tmp/test-python
|
||||||
|
nix develop --command bash -c "uv --version"
|
||||||
|
|
||||||
|
- name: Test basedpyright LSP is available
|
||||||
|
run: |
|
||||||
|
cd /tmp/test-python
|
||||||
|
nix develop --command bash -c "basedpyright --version"
|
||||||
|
|
||||||
test-with-julia:
|
test-with-julia:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue