Skip to content

Commit

Permalink
Travis, tests/cli: Test graph test outside the test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
Jannis committed Jan 15, 2020
1 parent 6fc0a4f commit 259e8c5
Show file tree
Hide file tree
Showing 27 changed files with 7 additions and 52 deletions.
7 changes: 7 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,18 @@ services:
# properly when needed
# - dbus-launch /usr/bin/python -c "import gnomekeyring;gnomekeyring.create_sync('login', '');"
script:
# Run the test suite
- yarn test
# Test codegen and build in the example subgraph
- cd examples/example-subgraph
- yarn
- ../../bin/graph codegen --debug
- ../../bin/graph build --debug
# Exercise `graph test` with another example subgraph
- cd ../../examples/basic-event-handlers
- yarn
- ../../bin/graph test "yarn test"

# Run `graph auth` inside `dbus-launch` to be able to access gnome-keyring
# secrets via keytar
# - dbus-launch bash -c '../../bin/graph auth http://some-node-ip.org test-access-token'
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
24 changes: 0 additions & 24 deletions tests/cli/test.test.js

This file was deleted.

6 changes: 0 additions & 6 deletions tests/cli/test/basic-event-handlers.stderr

This file was deleted.

22 changes: 0 additions & 22 deletions tests/cli/test/basic-event-handlers.stdout

This file was deleted.

0 comments on commit 259e8c5

Please sign in to comment.