-
Notifications
You must be signed in to change notification settings - Fork 3
ci: add github actions #12
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
Draft
Khady
wants to merge
29
commits into
master
Choose a base branch
from
louis/ci
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
b504f59
Regenerate test outputs after _shards addition (#15)
Atlas07 3353188
Add multi_terms aggregation support
Atlas07 2710b48
Mark multi_terms as supported in README
Atlas07 b6a6895
esgg: add failures array to _shards search result type
Atlas07 6496ef1
esgg: regenerate test snapshots with failures in _shards
Atlas07 181a211
Add field_type to Tjson.var record and extend variable parser
Atlas07 606bc30
Add Field_var constructor to value type
Atlas07 64d2f28
Wire Field_var through aggregation analysis and constraint resolution
Atlas07 fd4e59c
Add regression test for field variable in terms aggregation
Atlas07 66e50ab
Document $(var:field:<type>) syntax in README
Atlas07 d713514
Replace bare _ wildcards with named wildcards for readability
Atlas07 8e044e4
Reuse simple_of_es_type instead of separate parse_field_type
Atlas07 45a09a6
Simplify variable syntax from $(var:field:<type>) to $(var:<type>)
Atlas07 5ae15fc
Validate Field_var type in Field_num constraint
Atlas07 05db4fd
Fold field_var_constraints into existing infer_single match arms
Atlas07 465917e
Add clarifying comment to field_var_constraints Eq_type String
Atlas07 6c14bde
Remove internal function reference from README
Atlas07 e20ff5b
Rename field_type to type_ in Tjson.var
Atlas07 af75b0f
Assert list and type_ are mutually exclusive in make_var
Atlas07 93f14c3
Add regression test for numeric-type field variable in histogram
Atlas07 357d5ac
Merge pull request #18 from Atlas07/field-var-aggregations
Atlas07 b76337d
ci: add github actions
Khady 334565f
ci: update tested OCaml versions
Khady f6b29a1
ci: fix warning 6 in ci_build profile
Khady 220bafb
ci: qualify atd AST types in interface
Khady 7847da4
ci: avoid fragile atd full_module alias
Khady ff141d1
ci: infer atdgen interface from implementation
Khady 94fd40c
ci: constrain atd to v2
Khady 1f0a856
ci: avoid extlib ends_with API drift
Khady 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 hidden or 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,6 @@ | ||
| version: 2 | ||
| updates: | ||
| - package-ecosystem: github-actions | ||
| directory: / | ||
| schedule: | ||
| interval: monthly |
This file contains hidden or 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,47 @@ | ||
| name: Build and Test | ||
|
|
||
| on: | ||
| - push | ||
| - pull_request | ||
|
|
||
| jobs: | ||
| build-and-test: | ||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| os: | ||
| - macos-latest | ||
| - ubuntu-latest | ||
| # - windows-latest | ||
| ocaml-version: | ||
| - 4.14 | ||
| - 5.4 | ||
|
|
||
| runs-on: ${{ matrix.os }} | ||
|
|
||
| steps: | ||
| - name: Checkout code | ||
| uses: actions/checkout@v6 | ||
|
|
||
| - name: Use OCaml ${{ matrix.ocaml-version }} | ||
| uses: ocaml/setup-ocaml@v3 | ||
| with: | ||
| ocaml-compiler: ${{ matrix.ocaml-version }} | ||
| dune-cache: true | ||
| allow-prerelease-opam: true | ||
|
|
||
| - run: opam install . --deps-only --with-test | ||
|
|
||
| - name: build project | ||
| run: opam exec -- dune build | ||
|
|
||
| - name: run test | ||
| run: opam exec -- dune runtest | ||
|
|
||
| - run: opam install . --deps-only --with-test --criteria='+removed,+count[version-lag,solution]' --solver=builtin-0install | ||
|
|
||
| - name: build project with lower bounds | ||
| run: opam exec -- dune build | ||
|
|
||
| - name: run test with lower bounds | ||
| run: opam exec -- dune runtest |
This file contains hidden or 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,55 @@ | ||
| name: Lint | ||
|
|
||
| on: | ||
| - push | ||
| - pull_request | ||
|
|
||
| jobs: | ||
|
|
||
| lint-fmt: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout code | ||
| uses: actions/checkout@v6 | ||
|
|
||
| - name: Use OCaml 5.4 | ||
| uses: ocaml/setup-ocaml@v3 | ||
| with: | ||
| ocaml-compiler: 5.4 | ||
| dune-cache: true | ||
| allow-prerelease-opam: true | ||
|
|
||
| - name: Lint fmt | ||
| uses: ocaml/setup-ocaml/lint-fmt@v3 | ||
|
|
||
| lint-opam: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout code | ||
| uses: actions/checkout@v6 | ||
|
|
||
| - name: Use OCaml 5.4 | ||
| uses: ocaml/setup-ocaml@v3 | ||
| with: | ||
| ocaml-compiler: 5.4 | ||
| dune-cache: true | ||
| allow-prerelease-opam: true | ||
|
|
||
| - name: Lint opam | ||
| uses: ocaml/setup-ocaml/lint-opam@v3 | ||
|
|
||
| lint-doc: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout code | ||
| uses: actions/checkout@v6 | ||
|
|
||
| - name: Use OCaml 5.4 | ||
| uses: ocaml/setup-ocaml@v3 | ||
| with: | ||
| ocaml-compiler: 5.4 | ||
| dune-cache: true | ||
| allow-prerelease-opam: true | ||
|
|
||
| - name: Lint doc | ||
| uses: ocaml/setup-ocaml/lint-doc@v3 |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
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.
but i have an opinion on copy-pasting stdlib functions inline multiple times and you don't want to hear it