Skip to content

Commit

Permalink
Added github actions/nix testing
Browse files Browse the repository at this point in the history
  • Loading branch information
bolt12 committed Nov 22, 2021
1 parent acbb5b3 commit 8c9ff54
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Expand Up @@ -169,6 +169,9 @@ jobs:
- name: network-mux [test]
run: cabal --builddir="$CABAL_BUILDDIR" run network-mux:test

- name: ourobors-network-testing [test]
run: cabal --builddir="$CABAL_BUILDDIR" run ouroboros-network-testing:test

# issue: #1818
- name: ourobors-network-framework [test]
run: cabal --builddir="$CABAL_BUILDDIR" run ouroboros-network-framework:test -- -p '$0 != "typed-protocols.Socket.socket send receive IPv4"'
Expand Down
2 changes: 2 additions & 0 deletions release.nix
Expand Up @@ -83,11 +83,13 @@ let
++ (checksPaths [ "Win32-network" "test" ])
++ (checksPaths [ "network-mux" "test" ])
++ (checksPaths [ "ouroboros-network-framework" "test" ])
++ (checksPaths [ "ouroboros-network-testing" "test" ])
++ [
[ "haskellPackages" "ouroboros-network" "coverageReport" ]
[ "haskellPackages" "Win32-network" "coverageReport" ]
[ "haskellPackages" "network-mux" "coverageReport" ]
[ "haskellPackages" "ouroboros-network-framework" "coverageReport" ]
[ "haskellPackages" "ouroboros-network-testing" "coverageReport" ]
]
))
++ (testsPaths [ "ouroboros-network" "cddl" ])
Expand Down
1 change: 1 addition & 0 deletions scripts/test.sh
Expand Up @@ -8,6 +8,7 @@ cabal run ${@} io-sim:test && \
cabal run ${@} network-mux:test && \
cabal run ${@} ntp-client:test && \
cabal run ${@} typed-protocols-examples:test && \
cabal run ${@} ouroboros-network-testing:test && \
cabal run ${@} ouroboros-network-framework:test && \
cabal run ${@} ouroboros-network:test
# consensus tests are disabled due to #1082
Expand Down

0 comments on commit 8c9ff54

Please sign in to comment.