Skip to content

Commit

Permalink
Updated configuration files, added a comment to test/AddressSpec.hs f…
Browse files Browse the repository at this point in the history
…ile (#55)

* Update stack.yaml

* Update stack.yaml

* Changed yaml files to use string-random-0.1.4.3

* Changed yaml files to use text-2.0.2

* Changed yaml files

* Changed yaml files

* Changed yaml files

* Changed yaml files

* Changed yaml files

* Changed package.yaml file

* Changed yaml files

* Added stack-lts-2* yaml files

* Changed workflow yaml file

* Changed workflow yaml file

* Changed workflow yaml file

* Changed workflow yaml file

* Changed stack.yaml file

* Changed stack.yaml file

* Changed stack.yaml file

* Changed stack.yaml file

* Added commentary to test/AddressSpec.hs about the reason of random tests failures

* Added commentary to test/AddressSpec.hs about the reason of random tests failures

* Changed stack.yaml

* Added missed data-files in fakedata.cabal

* Accepted changes proposed by psibi

* Accepted changes proposed by psibi for stack.yaml

* Accepted changes proposed by psibi for stack.yaml

* Fixed .github/workflows/tests.yml

* Added dist/cabal-config-flags to .gitignore file

* Removed unneeded binary files

* Removed formatting and the commentary
  • Loading branch information
Oleksandr-Zhabenko authored Aug 12, 2024
1 parent 450bcfd commit 0e4dabe
Show file tree
Hide file tree
Showing 9 changed files with 40 additions and 41 deletions.
36 changes: 22 additions & 14 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,25 +18,33 @@ jobs:
include:
- os: ubuntu-latest
stack-yaml: stack.yaml
resolver: nightly
- os: ubuntu-latest
stack-yaml: stack.yaml
resolver: lts-18
- os: ubuntu-latest
stack-yaml: stack-lts-16.yaml
resolver: lts-16
resolver: lts-22.32
- os: macos-latest
stack-yaml: stack.yaml
resolver: nightly
- os: macos-latest
resolver: lts-22.32
- os: windows-latest
stack-yaml: stack.yaml
resolver: lts-18
resolver: lts-22.32
- os: ubuntu-latest
stack-yaml: stack-lts-21.yaml
resolver: lts-21.25
- os: ubuntu-latest
stack-yaml: stack-lts-20.yaml
resolver: lts-20.26
- os: macos-latest
stack-yaml: stack-lts-21.yaml
resolver: lts-21.25
- os: macos-latest
stack-yaml: stack-lts-16.yaml
resolver: lts-16
stack-yaml: stack-lts-20.yaml
resolver: lts-20.26
- os: windows-latest
stack-yaml: stack.yaml
resolver: lts-18
stack-yaml: stack-lts-21.yaml
resolver: lts-21.25
- os: windows-latest
stack-yaml: stack-lts-20.yaml
resolver: lts-20.26



steps:
- name: Clone project
Expand Down
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
.stack-work/
*~
stack.yaml.lock
dist-newstyle/cache/config
cabal.project.local
dist-newstyle/cache/config
dist/cabal-config-flags

2 changes: 1 addition & 1 deletion fakedata.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.34.7.
-- This file has been generated from package.yaml by hpack version 0.36.0.
--
-- see: https://github.com/sol/hpack

Expand Down
8 changes: 0 additions & 8 deletions stack-lts-16.yaml

This file was deleted.

14 changes: 0 additions & 14 deletions stack-lts-18.yaml

This file was deleted.

5 changes: 5 additions & 0 deletions stack-lts-20.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
resolver: lts-20.26

packages:
- .

5 changes: 5 additions & 0 deletions stack-lts-21.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
resolver: lts-21.25

packages:
- .

4 changes: 1 addition & 3 deletions stack.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
resolver: lts-19.13
resolver: lts-22.32

packages:
- .

nix:
shell-file: shell.nix
2 changes: 1 addition & 1 deletion test/AddressSpec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ spec = do
c2 <- country
pure (c1, c2)
fakeCountry <- generateWithSettings (setNonDeterministic defaultFakerSettings) someCountry
(fst fakeCountry) `shouldNotBe` (snd fakeCountry)
(fst fakeCountry) `shouldNotBe` (snd fakeCountry)
it "Equality of sequence" $ do
let someCountry :: Fake (Text, Text)
someCountry = do
Expand Down

0 comments on commit 0e4dabe

Please sign in to comment.