Skip to content

Refactor tests to work correctly #872

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 15 commits into from
May 10, 2023
18 changes: 14 additions & 4 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,23 @@
"browser": true,
"es2021": true
},
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
],
"overrides": [],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": ["@typescript-eslint"],
"rules": {}
}
"plugins": [
"@typescript-eslint"
],
"rules": {
"semi": [
"error",
"always"
]
}
}
6 changes: 4 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
fail-fast: false
matrix:
os: [macos-11, ubuntu-latest, windows-latest]
ghc: [9.0.2, 8.10.4]
ghc: [9.0.2, 8.10.4, 9.2.7, 9.4.5, 9.6.1]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
Expand All @@ -31,7 +31,9 @@ jobs:
- name: Install cabal
run: ghcup install cabal recommended
- name: Install GHC
run: ghcup install ghc ${{matrix.ghc}}
run: |
ghcup install ghc ${{matrix.ghc}}
ghcup set ghc ${{matrix.ghc}}
# Pre-fetch HLS binaries before the tests because otherwise
# we run into timeouts. Downloading takes longer, since we download
# per HLS version one HLS binary per GHC version.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -598,4 +598,4 @@
"which": "^3.0.0",
"yauzl": "^2.10.0"
}
}
}
Loading