Skip to content

Commit de465b0

Browse files
authored
Merge pull request #401 from eed3si9n/wip/smoke
Bump smoke test targets
2 parents 5bce09b + ae91190 commit de465b0

File tree

2 files changed

+17
-6
lines changed

2 files changed

+17
-6
lines changed

.github/workflows/ci.yml

+13-4
Original file line numberDiff line numberDiff line change
@@ -42,17 +42,25 @@ jobs:
4242
uses: actions/checkout@v4
4343
with:
4444
repository: scala/scala
45-
ref: v2.13.10
45+
ref: v2.13.14
4646
path: scala_scala
4747

48-
- name: checkout lampepfl/dotty
48+
- name: checkout scala/scala3
4949
if: ${{ runner.os == 'Linux' }}
5050
uses: actions/checkout@v4
5151
with:
52-
repository: lampepfl/dotty
53-
ref: 3.3.0
52+
repository: scala/scala3
53+
ref: 3.5.0-RC2
5454
path: dotty
5555

56+
- name: checkout lichess-org/lila
57+
if: ${{ runner.os == 'Linux' }}
58+
uses: actions/checkout@v4
59+
with:
60+
repository: lichess-org/lila
61+
ref: 83e61b9ef617164fe1d3a5112fcc611d0e5a7ea9
62+
path: lila
63+
5664
- name: checkout nvim-treesitter/nvim-treesitter
5765
if: ${{ runner.os == 'Linux' }}
5866
uses: actions/checkout@v4
@@ -93,6 +101,7 @@ jobs:
93101
env:
94102
SCALA_SCALA_DIR: scala_scala
95103
DOTTY_DIR: dotty
104+
LILA_DIR: lila
96105
run: script/smoke_test.sh
97106

98107
- name: copy nvim-treesitter queries

script/smoke_test.sh

+4-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33
# This is an integration test to generally check the quality of parsing.
44

55
SCALA_SCALA_LIBRARY_EXPECTED=100
6-
SCALA_SCALA_COMPILER_EXPECTED=97
7-
DOTTY_COMPILER_EXPECTED=85
6+
SCALA_SCALA_COMPILER_EXPECTED=96
7+
DOTTY_COMPILER_EXPECTED=83
8+
LILA_MODULES_EXPECTED=84
89
SYNTAX_COMPLEXITY_CEILING=1400
910

1011
if [ ! -d "$SCALA_SCALA_DIR" ]; then
@@ -77,6 +78,7 @@ check_complexity () {
7778
run_tree_sitter "$SCALA_SCALA_DIR/src/library/" $SCALA_SCALA_LIBRARY_EXPECTED scala2-library
7879
run_tree_sitter "$SCALA_SCALA_DIR/src/compiler/" $SCALA_SCALA_COMPILER_EXPECTED scala2-compiler
7980
run_tree_sitter "$DOTTY_DIR/compiler/" $DOTTY_COMPILER_EXPECTED dotty-compiler
81+
run_tree_sitter "$LILA_DIR/modules/" $LILA_MODULES_EXPECTED lila-modules
8082

8183
check_complexity $SYNTAX_COMPLEXITY_CEILING
8284

0 commit comments

Comments
 (0)