-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prepare v1.0.0 - [#52] Make shards a library to work locally and move shards_dist to a separate repo - [#53] Support named and unnamed tables - [#54] Refactor shards to use TIDs instead of names (atoms) for handling the partitions - [#55] Use the metadata ETS table for storing the partitions TIDs, instead of building atoms in runtime for table names - [#56] Create shards_group as a dynamic supervisor for creating/deleting tables dynamically as part of a supervision tree - Improve docs
- Loading branch information
Showing
37 changed files
with
3,361 additions
and
5,092 deletions.
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,3 @@ | ||
comment: | ||
behaviour: new | ||
require_changes: yes |
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 |
---|---|---|
|
@@ -8,16 +8,43 @@ on: | |
|
||
jobs: | ||
test: | ||
name: make ci (OTP ${{ matrix.otp }}) | ||
runs-on: ubuntu-latest | ||
name: 'Shards Test (OTP ${{ matrix.otp }})' | ||
|
||
strategy: | ||
matrix: | ||
otp: [22.3, 21.3] | ||
otp: [23.1, 22.3] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: gleam-lang/[email protected] | ||
with: | ||
otp-version: ${{ matrix.otp }} | ||
- name: Starting EPMD | ||
run: epmd -daemon | ||
|
||
- name: Running Tests | ||
run: make ci | ||
run: | | ||
make test | ||
make covertool | ||
- name: Running Edoc | ||
run: make docs | ||
|
||
- name: Running Xref | ||
run: make xref | ||
|
||
- uses: actions/cache@v1 | ||
with: | ||
path: priv/plts | ||
key: ${{ runner.os }}-plt-v2-${{ hashFiles(format('{0}{1}', github.workspace, '/rebar.lock')) }} | ||
restore-keys: | | ||
${{ runner.os }}-plt-v2- | ||
- name: Running Dialyzer | ||
run: make dialyzer | ||
|
||
- name: Upload coverage to Codecov | ||
uses: codecov/codecov-action@v1 | ||
with: | ||
file: _build/test/covertool/shards.covertool.xml | ||
flags: otp-${{ matrix.otp }} | ||
fail_ci_if_error: true |
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 |
---|---|---|
|
@@ -33,3 +33,4 @@ priv/*.so | |
*_plt | ||
doc | ||
docs | ||
/priv/plts |
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.