Skip to content

Commit

Permalink
CI test dependants
Browse files Browse the repository at this point in the history
  • Loading branch information
liyishuai committed Feb 6, 2021
1 parent 8c2e186 commit 9e96cac
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# This file was generated from `meta.yml`, please do not edit manually.
# Follow the instructions on https://github.com/coq-community/templates to regenerate.

version: 2.1

jobs:
Expand Down Expand Up @@ -29,6 +32,14 @@ jobs:
- run:
name: Build, test, and install package
command: opam install -t .
- run:
name: Test dependants
command: |
PINS=$(opam list -s --pinned --columns=package | xargs | tr ' ' ,)
PACKAGES=`opam list -s --depends-on coq-itree-io --coinstallable-with $PINS`
if [ -n "$PACKAGES" ]
then opam install -t $PACKAGES
fi
- run:
name: Uninstall package
command: opam uninstall .
Expand Down
1 change: 1 addition & 0 deletions meta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ shortname: coq-itree-io
opam_name: coq-itree-io
organization: Lysxia
circleci: true
ci_test_dependants: true
synopsis: Run interaction trees in IO
description: Interpret itree in the IO monad of simple-io.
authors:
Expand Down

0 comments on commit 9e96cac

Please sign in to comment.