Skip to content

Commit d441f17

Browse files
committed
Add CI based on GitHub actions and nix
Such that CI and local dev can share the same env
1 parent 87faec2 commit d441f17

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: ci
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
ci:
7+
runs-on: ubuntu-20.04
8+
steps:
9+
- uses: actions/checkout@v1
10+
- uses: cachix/install-nix-action@v10
11+
# - uses: mxschmitt/action-tmate@v3
12+
- run: nix-shell --run "rustup set profile default && make ci"

tests/LanguageClient_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def setup(nvim):
5656

5757
def test_textDocument_definition(nvim):
5858
nvim.command("edit! {}".format(PATH_MAIN_RS))
59-
time.sleep(3)
59+
time.sleep(10)
6060
nvim.funcs.cursor(3, 22)
6161
nvim.funcs.LanguageClient_textDocument_definition()
6262
time.sleep(3)

0 commit comments

Comments
 (0)