Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/test-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ jobs:
- name: Install Elm
if: ${{ contains(matrix.fixture, 'elm') }}
run: |
curl -L -o elm.gz https://github.com/elm/compiler/releases/download/0.19.1/binary-for-linux-64-bit.gz
curl -L -o elm.gz https://github.com/elm/compiler/releases/download/0.19.2/elm-0.19.2-linux-x64.gz
gunzip elm.gz
chmod +x elm
sudo mv elm /usr/local/bin/
Expand Down
3 changes: 2 additions & 1 deletion test/fixtures/elm/Warmup.elm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ module Warmup exposing (warmup)
{-| Compiled once by the fixture's setup command so that all package
dependencies are downloaded and built into the shared ELM_HOME cache
before the per-sample compiles run in parallel. Concurrent cold-cache
downloads can corrupt elm 0.19.1's package registry.
builds corrupt elm's shared package cache (still reproducible with
elm 0.19.2).
-}

import Dict exposing (Dict)
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/elm/elm.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"type": "application",
"source-directories": ["."],
"elm-version": "0.19.1",
"elm-version": "0.19.2",
"dependencies": {
"direct": {
"NoRedInk/elm-json-decode-pipeline": "1.0.1",
Expand Down
5 changes: 3 additions & 2 deletions test/languages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -732,8 +732,9 @@ export const ElmLanguage: Language = {
name: "elm",
base: "test/fixtures/elm",
// Compiling `Warmup.elm` once up front downloads and builds all package
// dependencies into the shared ELM_HOME cache; elm 0.19.1 can corrupt
// its package registry when parallel compiles race on a cold cache.
// dependencies into the shared ELM_HOME cache; elm corrupts its shared
// package cache when parallel compiles race on a cold cache (still
// reproducible with elm 0.19.2).
setupCommand: "rm -rf elm-stuff && elm make Warmup.elm --output=/dev/null",
compileCommand: "elm make Main.elm --output elm.js",
runCommand(sample: string) {
Expand Down
Loading