Skip to content

Commit

Permalink
Fix devel testing
Browse files Browse the repository at this point in the history
  • Loading branch information
ssbarnea committed Mar 2, 2022
1 parent 8596a6b commit 7284f99
Showing 1 changed file with 11 additions and 15 deletions.
26 changes: 11 additions & 15 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,14 @@ jobs:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2

- name: Clone development branch of ansible-language-server
if: ${{ matrix.devel }}
uses: actions/checkout@v2
with:
repository: ansible/ansible-language-server
path: ansible-language-server
# We will later move this folder to ../ due to below bug:
# https://github.com/actions/checkout/issues/197
# - name: Clone development branch of ansible-language-server
# if: ${{ matrix.devel }}
# uses: actions/checkout@v2
# with:
# repository: ansible/ansible-language-server
# path: ansible-language-server
# # We will later move this folder to ../ due to below bug:
# # https://github.com/actions/checkout/issues/197

# ~400mb, caching them should speedup test-ui execution
- name: Enable test-resources caching
Expand All @@ -96,13 +96,9 @@ jobs:
if: ${{ matrix.devel }}
run: |
set -ex
mv ansible-language-server ..
npm link --save ../ansible-language-server
pushd ../ansible-language-server
npm ci
npm run compile
popd
npm ls --depth=0 --link=true
npm install --save https://github.com/ansible/ansible-language-server
git stash
git diff
shell: bash

# Build extension
Expand Down

0 comments on commit 7284f99

Please sign in to comment.