Skip to content
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

WIP: Misc and releases. #45

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open
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
41 changes: 41 additions & 0 deletions .github/workflows/haskell.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Haskell CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
ghc-version: ['8.8.4', '8.6.5', '8.10.2']
cabal-version: ['3.0','3.2']
steps:
- uses: actions/checkout@v2
- uses: actions/setup-haskell@v1
with:
ghc-version: ${{ matrix.ghc-version }}
cabal-version: ${{ matrix.cabal-version}}
- name: Cache
uses: actions/cache@v1
env:
cache-name: cache-cabal
with:
path: ~/.cabal
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/*.cabal') }}-${{ hashFiles('**/cabal.project') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Install dependencies
run: |
cabal v2-update
cabal v2-build --only-dependencies --enable-tests --enable-benchmarks
- name: Build
run: cabal v2-build --enable-tests --enable-benchmarks all
- name: Run tests
run: cabal v2-test all
116 changes: 0 additions & 116 deletions .travis.yml

This file was deleted.

31 changes: 5 additions & 26 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,31 +1,10 @@
# Changelog

## pangraph-0.3.0
1. Implement a parser for and serializer for the Pajek graph language. See [#39](https://github.com/tuura/pangraph/pull/39) Thanks [zouroboros](https://github.com/zouroboros)!
2. Use Stack to generate new pvp bounds.
Formerly:
```haskell
algebraic-graphs == 0.3.*
attoparsec == 0.13.*
bytestring == 0.10.*
containers == 0.5.*
fgl == 5.6.*
hexml == 0.3.*
html-entities == 1.1.*
text == 1.2.*
```
To the following generated with stack LTS-13.8:
```haskell
base >=4.8 && <5,
algebraic-graphs ==0.3.*,
attoparsec >=0.13.2.2 && <0.14,
bytestring >=0.10.8.2 && <0.11,
containers >=0.6.0.1 && <0.7,
fgl >=5.7.0.1 && <5.8,
hexml >=0.3.4 && <0.4,
html-entities >=1.1.4.2 && <1.2,
text >=1.2.3.1 && <1.3
```
## pangraph-0.3

1. Expand dependencies in #45 7894f47
2. Drop testing for GHCs 8.0, 8.2, 8.4
3. Add testing to GHCs 8.6, 8.8, 8.10

## pangraph-0.2.1
* Bump Algebraic Graphs from 0.1.* to 0.2.*
Expand Down
22 changes: 11 additions & 11 deletions pangraph.cabal
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: pangraph
version: 0.3.0
version: 0.2.1
synopsis: A set of parsers for graph languages and conversions to
graph libaries.
description: A package allowing parsing of graph files into graph
Expand All @@ -19,10 +19,10 @@ build-type: Simple
cabal-version: >=1.10
stability: experimental
-- Last three major versions
tested-with: GHC==8.0.2,
GHC==8.2.2,
GHC==8.4.4,
GHC==8.6.3
tested-with:
GHC == 8.6.5
GHC == 8.8.4
GHC == 8.10.2

library
hs-source-dirs: src
Expand All @@ -43,14 +43,14 @@ library
, Pangraph.Pajek.Parser
, Pangraph.Pajek.Writer
build-depends: base >= 4.8 && < 5
, algebraic-graphs >=0.5 && <0.6
, attoparsec >=0.13.0.0 && <=0.13.2.2
, containers >=0.5 && <=0.6.0.1
, algebraic-graphs >= 0.5 && <0.6
, attoparsec >= 0.13.0.0 && <0.13.3
, bytestring == 0.10.*
, fgl == 5.7.*
, containers >= 0.5 && <=0.6.0.1
, fgl >= 5.6.0 && < 5.8
, hexml == 0.3.*
, html-entities == 1.1.*
, text == 1.2.*
, html-entities == 1.1.*
, text == 1.2.*
default-language: Haskell2010
GHC-options: -Wall -fwarn-tabs

Expand Down
65 changes: 0 additions & 65 deletions stack.yaml

This file was deleted.