Comments (4)
See #30 (comment)
Here's what I think would work:
- Create a GitHub action to set up Grakn server
- Create a GitHub action (or reuse an existing if available) to clone the BDD repo with feature files
- Write a test script that execute the feature files using ExecutableSpecifications.jl
As a developer, the local environment should have Grakn server and features available already. Then, doing ] test
from the REPL should just include BDD tests.
from typedbclient.jl.
Perhaps we can use this here: https://github.com/marketplace/actions/github-action-for-bash
from typedbclient.jl.
I created a GitHub Action here: https://github.com/Humans-of-Julia/GraknRunner
Not sure yet, if we can do it all in one, but would be ideal I think.
It can be easily included in a workflow file like:
name: Grakn BDD runner
on: [push]
jobs:
hello_world_job:
runs-on: ubuntu-latest
name: A job to pull feature files, install Grakn, and execute the tests
steps:
- uses: actions/checkout@v2
- id: foo
uses: Humans-of-Julia/[email protected]
with:
who-to-greet: 'Mark'
- run: echo random-number ${{ steps.foo.outputs.random-number }}
shell: bash
from typedbclient.jl.
See #30 (comment)
As a developer, the local environment should have Grakn server and features available already. Then, doing
] test
from the REPL should just include BDD tests.
I'm curious here, would that mean the test has to run locally? Wouldn't it be cool to let it all run in the virtual machine in the GitHub Action runner?
from typedbclient.jl.
Related Issues (20)
- TagBot trigger issue HOT 2
- Let me join to your organization! HOT 2
- Project status HOT 9
- Stable connection to server for longer times during work with session
- BDD development mega issue HOT 3
- BDD: Implement "background" code
- BDD: Implement "context" code
- BDD: Implement common parsing functions
- BDD: Implement concept steps HOT 1
- BDD: Implement connection steps HOT 1
- BDD: Implement graql steps
- Script prepare the translation from the java client to Julia HOT 4
- Implement session HOT 1
- Implement transaction
- Implement concepts
- BDD example implementation HOT 3
- Implement QueryManager HOT 1
- AttributeType constructor should run with Label HOT 3
- open transactions in parallel should result in transactions in a row
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from typedbclient.jl.