Skip to content

Commit

Permalink
Migrate to GH Actions + elm-tooling and expose `subsequencesNonEmpt…
Browse files Browse the repository at this point in the history
…y` 🆕 (#168)

* Optimize and expose `subsequencesNonEmpty` 🆕

* update to elm-test@2.0

* Add elm-tooling and migrate to GH actions...

* Use elm-test-rs instead (faster) 🚀
  • Loading branch information
kutyel committed Oct 31, 2022
1 parent 22cb6ea commit 97a44be
Show file tree
Hide file tree
Showing 10 changed files with 3,846 additions and 64 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: "Tests"
on: [push, pull_request]
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '14'
cache: 'npm'
- uses: actions/cache@v2
with:
path: ~/.elm
key: ${{ runner.os }}-elm-${{ hashFiles('package-lock.json', 'elm-tooling.json', 'elm.json') }}
- run: npm ci
- run: npm test
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Ignore build or dist files
/elm-stuff
/elm
/elm
tests
node_modules
14 changes: 0 additions & 14 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Convenience functions for working with List

[![Build Status](https://travis-ci.org/elm-community/list-extra.svg?branch=master)](https://travis-ci.org/elm-community/list-extra)
[![Build Status](https://github.com/elm-community/list-extra/workflows/test.yml/badge.svg)](https://github.com/elm-community/list-extra/actions)

Experimental package with convenience functions for working with List.
Note that this API is experimental and likely to go through many more iterations.
Expand Down
7 changes: 7 additions & 0 deletions elm-tooling.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"tools": {
"elm": "0.19.1",
"elm-format": "0.8.5",
"elm-test-rs": "3.0.0"
}
}
2 changes: 1 addition & 1 deletion elm.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
"elm/core": "1.0.0 <= v < 2.0.0"
},
"test-dependencies": {
"elm-explorations/test": "1.0.0 <= v < 2.0.0"
"elm-explorations/test": "2.0.0 <= v < 3.0.0"
}
}
Loading

0 comments on commit 97a44be

Please sign in to comment.