diff options
author | Aleksey Kladov <[email protected]> | 2020-05-23 15:39:04 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-05-23 15:39:04 +0100 |
commit | f4f5fca10175b8d5fdfa36563c103f81b2b0acd3 (patch) | |
tree | 456d16e30fb799f82f71cff4c7aa91b0248c0220 /.github/workflows/ci.yaml | |
parent | 4cc2ff6e390b6d8015ed1d266425459268f6e0b0 (diff) | |
parent | 1797b665a4dd82ba176b319c850a8875df327a5d (diff) |
Merge pull request #4538 from vsrs/vscode_tests
vscode client side tests
Diffstat (limited to '.github/workflows/ci.yaml')
-rw-r--r-- | .github/workflows/ci.yaml | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 00f299ff1..ed9191c49 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml | |||
@@ -97,7 +97,13 @@ jobs: | |||
97 | 97 | ||
98 | typescript: | 98 | typescript: |
99 | name: TypeScript | 99 | name: TypeScript |
100 | runs-on: ubuntu-latest | 100 | strategy: |
101 | fail-fast: false | ||
102 | matrix: | ||
103 | os: [ubuntu-latest, windows-latest, macos-latest] | ||
104 | |||
105 | runs-on: ${{ matrix.os }} | ||
106 | |||
101 | steps: | 107 | steps: |
102 | - name: Checkout repository | 108 | - name: Checkout repository |
103 | uses: actions/checkout@v2 | 109 | uses: actions/checkout@v2 |
@@ -111,10 +117,19 @@ jobs: | |||
111 | working-directory: ./editors/code | 117 | working-directory: ./editors/code |
112 | 118 | ||
113 | - run: npm audit || { sleep 10 && npm audit; } || { sleep 30 && npm audit; } | 119 | - run: npm audit || { sleep 10 && npm audit; } || { sleep 30 && npm audit; } |
120 | if: runner.os == 'Linux' | ||
114 | working-directory: ./editors/code | 121 | working-directory: ./editors/code |
115 | 122 | ||
116 | - run: npm run lint | 123 | - run: npm run lint |
117 | working-directory: ./editors/code | 124 | working-directory: ./editors/code |
118 | 125 | ||
126 | - name: Run vscode tests | ||
127 | uses: GabrielBB/[email protected] | ||
128 | env: | ||
129 | VSCODE_CLI: 1 | ||
130 | with: | ||
131 | run: npm --prefix ./editors/code test | ||
132 | # working-directory: ./editors/code # does not work: https://github.com/GabrielBB/xvfb-action/issues/8 | ||
133 | |||
119 | - run: npm run package --scripts-prepend-node-path | 134 | - run: npm run package --scripts-prepend-node-path |
120 | working-directory: ./editors/code | 135 | working-directory: ./editors/code |