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

Yaml workflow file to run the BDD test within CI #116

Merged
merged 61 commits into from
Sep 5, 2021
Merged
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
38 changes: 38 additions & 0 deletions .github/workflows/BDD-runner.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: BDD Runner
on: [push]

jobs:
TypeDBClient:
runs-on: ubuntu-latest
name: BDD Runner TypeDBClient.jl jobs
steps:
- uses: actions/checkout@v2
with:
path: ''
- name: Install TypeDB Server
run: |
sudo apt-get update
sudo apt install software-properties-common apt-transport-https
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 8F3DA4B5E9AEF44C
sudo add-apt-repository 'deb [ arch=all ] https://repo.vaticle.com/repository/apt/ trusty main'
sudo apt update
sudo apt install typedb-all
- name: Run TypeDB Server
run: |
typedb server &
- uses: julia-actions/setup-julia@latest
with:
version: '1.6.2'
arch: 'x64'
- name: Install TypeDBClient.jl & Behavior.jl
run: |
julia -e 'println("Hello, World!")'
julia -e 'using Pkg; Pkg.add(url="https://github.com/Humans-of-Julia/TypeDBClient.jl.git")'
julia -e 'using Pkg; Pkg.add("Behavior")'
shell: bash
- name: Start BDD Runner
run: |
julia -e 'println(pwd())'
julia -e 'println(readdir("/home/runner/work/TypeDBClient.jl/TypeDBClient.jl/test"))'
julia -e 'include("test/runner.jl")'
shell: bash