forked from ArthurClemens/gremlex
-
Notifications
You must be signed in to change notification settings - Fork 1
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
chore: Prepare for development #12
Merged
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
1f7aae3
Prepare for development
ignaciogoldchluk-yolo 4c48fa0
remove workflow name
ignaciogoldchluk-yolo 82ca592
fix order
ignaciogoldchluk-yolo 04d24d4
format files
ignaciogoldchluk-yolo c153c2c
bump stream_data
ignaciogoldchluk-yolo 1ddb9f1
remove Dockerfile
ignaciogoldchluk-yolo cbc9f4f
try with compose
ignaciogoldchluk-yolo 5a87c9c
fix option
ignaciogoldchluk-yolo 89ad26f
remove flag
ignaciogoldchluk-yolo e5f698c
fix flag name
ignaciogoldchluk-yolo b82d362
remove uuid and mock
ignaciogoldchluk-yolo 3644cb9
replace Poison with Jason
ignaciogoldchluk-yolo 418e48c
bump ex_doc and confex
ignaciogoldchluk-yolo 9118ddc
improve test
ignaciogoldchluk-yolo 0f684b7
fix README.md
ignaciogoldchluk-yolo 2f4f98d
add CI badge
ignaciogoldchluk-yolo 47dc2dd
remove coveralls reference
ignaciogoldchluk-yolo c887a78
fix flaky tests
ignaciogoldchluk-yolo 3a0f405
bump minimum Elixir version
ignaciogoldchluk-yolo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
name: Elixir CI | ||
|
||
on: | ||
push: | ||
branches: [ "main", "master" ] | ||
pull_request: | ||
branches: [ "main", "master" ] | ||
|
||
env: | ||
MIX_ENV: test | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- uses: erlef/setup-beam@v1 | ||
name: Install Erlang and Elixir | ||
id: setup-beam | ||
with: | ||
version-file: .tool-versions | ||
version-type: strict | ||
|
||
- name: Deps Cache | ||
uses: actions/cache@v4 | ||
with: | ||
key: ${{ runner.os }}-deps-${{ hashFiles('./mix.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-deps | ||
path: ./deps | ||
|
||
- name: Build Cache | ||
uses: actions/cache@v4 | ||
with: | ||
key: ${{ runner.os }}-build-${{ hashFiles('./mix.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-build-${{ hashFiles('./mix.lock') }} | ||
path: ./_build | ||
|
||
- name: Run docker compose | ||
uses: hoverkraft-tech/[email protected] | ||
with: | ||
up-flags: "--wait" | ||
|
||
- name: Install dependencies | ||
run: mix deps.get | ||
|
||
- name: Compiles without warnings | ||
run: mix compile --warnings-as-errors | ||
|
||
- name: Check Formatting | ||
run: mix format --check-formatted | ||
|
||
# TODO: Enable credo later | ||
# - name: Run credo | ||
# run: mix credo | ||
|
||
- name: Run tests | ||
run: mix test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
elixir 1.17.3 | ||
erlang 27.2 |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
use Mix.Config | ||
import Config | ||
|
||
config :gremlex, | ||
host: "127.0.0.1", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
services: | ||
graph: | ||
image: tinkerpop/gremlin-server:3.7 | ||
ports: | ||
- 8182:8182 | ||
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
different internal - external port
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That is usually done for reserved/assigned ports. In the case of port 8182 it is not assigned. If it ever conflicts with someone's local setup we can set this as an env var like
and use an
.env
file like