Skip to content
This repository has been archived by the owner on Aug 24, 2024. It is now read-only.

Commit

Permalink
corr testsCreateContract.jl & CI.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfliegner committed Oct 26, 2022
1 parent d59443e commit 376f880
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ jobs:
uses: julia-actions/setup-julia@v1
with:
version: "1.7.1"
- run: export SEARCHLIGHT_USERNAME="postgres"; export SEARCHLIGHT_PASSWORD="postgres"; GENIE_ENV="test" julia --project=$(pwd) -e'push!(LOAD_PATH,"src"); using Pkg; Pkg.instantiate(),include("testsCreateContract.jl")'
- run: export SEARCHLIGHT_USERNAME="postgres"; export SEARCHLIGHT_PASSWORD="postgres"; GENIE_ENV="test" julia --project=$(pwd) -e'push!(LOAD_PATH,"src"); using Pkg; Pkg.instantiate();include("testsCreateContract.jl")'
shell: bash
2 changes: 1 addition & 1 deletion testsCreateContract.jl
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ using JSON

if (haskey(ENV, "GITPOD_REPO_ROOT"))
run(```psql -f sqlsnippets/droptables.sql```)
elseif (haskey(ENV,"GENIE_ENV")& ENV["GENIE_ENV"]=="test")
elseif (haskey(ENV,"GENIE_ENV") & (ENV["GENIE_ENV"]=="dev"))
run(```psql -d postgres -f sqlsnippets/droptables.sql```)
end
# Loading the data model- Create tables, constraints etc. and load Roles
Expand Down

2 comments on commit 376f880

@michaelfliegner
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register
Reuse of DB connections improved

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/71095

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.5.1 -m "<description of version>" 376f880c5673058c46aa99a2bace417bb537b8ff
git push origin v0.5.1

Please sign in to comment.