Skip to content

Commit 5ecf92f

Browse files
author
deathaxe
committed
Merge branch 'develop' into st4107
2 parents 5c4ce45 + 8925411 commit 5ecf92f

File tree

2 files changed

+4
-31
lines changed

2 files changed

+4
-31
lines changed

.github/workflows/ci-syntax-tests.yml

+2-29
Original file line numberDiff line numberDiff line change
@@ -28,43 +28,16 @@ jobs:
2828
- build: 4107
2929
default_packages: v4107
3030
- build: 4126
31-
default_packages: v4126
31+
default_packages: binary
3232
steps:
3333
- name: Checkout Vue
3434
uses: actions/checkout@v4
3535
with:
3636
path: Vue
37-
- name: Prepare dummy syntaxes
38-
run: |
39-
scopes=(
40-
source.coffee
41-
source.livescript
42-
source.less
43-
source.postcss
44-
source.sass
45-
source.scss
46-
source.sss
47-
source.stylus
48-
text.jade
49-
text.pug
50-
text.slm
51-
text.slim
52-
)
53-
mkdir -vp "Dummy"
54-
for scope in ${scopes[@]}; do
55-
cat << SYNTAX > "Dummy/$scope.sublime-syntax"
56-
%YAML 1.2
57-
---
58-
scope: $scope
59-
60-
contexts:
61-
main: []
62-
SYNTAX
63-
done
6437
- uses: SublimeText/syntax-test-action@v2
6538
with:
6639
build: ${{ matrix.build }}
6740
package_name: Vue
6841
package_root: Vue
6942
default_packages: ${{ matrix.default_packages }}
70-
additional_packages: Dummy
43+
dummy_syntaxes: source.coffee,source.livescript,source.less,source.postcss,source.sass,source.scss,source.sss,source.stylus,text.jade,text.pug,text.slm,text.slim

tests/syntax_test_script.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@
4848
// ^^^ entity.name.tag
4949
// ^ punctuation.definition.tag.end.js
5050
// ^^^^^^^^^^^^ meta.interpolation.js
51-
// ^ punctuation.definition.interpolation.begin.js
51+
// ^ punctuation.definition.interpolation.begin.js, punctuation.section.interpolation.begin.js
5252
// ^^^^^^^^^^ source.js.embedded.jsx
53-
// ^ punctuation.definition.interpolation.end.js
53+
// ^ punctuation.definition.interpolation.end.js, punctuation.section.interpolation.end.js
5454
// ^^^^^^ meta.tag
5555
// ^^ punctuation.definition.tag.begin.js
5656
// ^^^ entity.name.tag

0 commit comments

Comments
 (0)