-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* rename arrow to disk and raphtory-arrow to pometry-storage * transition to pometry-storage naming * rust fmt * rename more things to pometry-storage * get rid of the warning on Timestamps * Renaming * refactor bits * rename storage types to Disk* * Final changes * deactivate * deactivate 2 * use DiskGraph in python * More refactoring * fmt * fixed warnings * Fixed python tests * typos --------- Co-authored-by: miratepuffin <[email protected]>
- Loading branch information
1 parent
64cdce2
commit 332f23d
Showing
138 changed files
with
1,483 additions
and
1,397 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
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 |
---|---|---|
|
@@ -34,7 +34,7 @@ jobs: | |
with: | ||
cache-all-crates: true | ||
- uses: webfactory/[email protected] | ||
name: Load raphtory-arrow key | ||
name: Load raphtory-disk_graph key | ||
with: | ||
ssh-private-key: ${{ secrets.RA_SSH_PRIVATE_KEY }} | ||
- uses: actions-rs/toolchain@v1 | ||
|
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 |
---|---|---|
|
@@ -47,7 +47,7 @@ jobs: | |
override: true | ||
components: rustfmt, clippy | ||
- uses: webfactory/[email protected] | ||
name: Load raphtory-arrow key | ||
name: Load raphtory-disk_graph key | ||
with: | ||
ssh-private-key: ${{ secrets.RA_SSH_PRIVATE_KEY }} | ||
- uses: Swatinem/rust-cache@v2 | ||
|
@@ -59,15 +59,15 @@ jobs: | |
with: | ||
python-version: ${{ matrix.python }} | ||
cache: 'pip' | ||
- name: Activate raphtory-arrow in Cargo.toml | ||
run: make pull-arrow | ||
- name: Activate pometry-storage in Cargo.toml | ||
run: make pull-storage | ||
- name: Run Maturin develop | ||
uses: PyO3/maturin-action@v1 | ||
with: | ||
working-directory: ./python | ||
command: build | ||
target: ${{ matrix.target }} | ||
args: --release --features arrow | ||
args: --release --features storage | ||
- name: Install Python dependencies (Unix) | ||
if: "contains(matrix.os, 'Ubuntu') || contains(matrix.os, 'macOS')" | ||
run: | | ||
|
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 |
---|---|---|
|
@@ -43,7 +43,7 @@ jobs: | |
sudo rm -rf /opt/ghc | ||
sudo rm -rf "$AGENT_TOOLSDIRECTORY" | ||
- uses: webfactory/[email protected] | ||
name: Load raphtory-arrow key | ||
name: Load pometry-storage key | ||
with: | ||
ssh-private-key: ${{ secrets.RA_SSH_PRIVATE_KEY }} | ||
- name: Rust version | ||
|
@@ -56,20 +56,20 @@ jobs: | |
uses: cargo-bins/cargo-binstall@main | ||
- name: Install nextest | ||
run: cargo binstall -y --force cargo-nextest | ||
- name: Run all Tests (no arrow) | ||
- name: Run all Tests (no disk_graph) | ||
env: | ||
RUSTFLAGS: -Awarnings | ||
TEMPDIR: ${{ runner.temp }} | ||
run: | | ||
cargo nextest run --all --no-default-features | ||
- name: Activate raphtory-arrow in Cargo.toml | ||
run: make pull-arrow | ||
- name: Run all Tests (arrow) | ||
- name: Activate pometry-storage in Cargo.toml | ||
run: make pull-storage | ||
- name: Run all Tests (disk_graph) | ||
env: | ||
RUSTFLAGS: -Awarnings | ||
TEMPDIR: ${{ runner.temp }} | ||
run: | | ||
cargo nextest run --all --no-default-features --features "arrow" | ||
cargo nextest run --all --no-default-features --features "storage" | ||
- name: Run Tests (features=io) | ||
env: | ||
RUSTFLAGS: -Awarnings | ||
|
@@ -90,11 +90,11 @@ jobs: | |
RUSTFLAGS: -Awarnings | ||
run: | | ||
cargo check -p raphtory --no-default-features --features "vectors" | ||
- name: Run Tests (features=arrow) | ||
- name: Run Tests (features=storage) | ||
env: | ||
RUSTFLAGS: -Awarnings | ||
run: | | ||
cargo check -p raphtory --no-default-features --features "arrow" | ||
cargo check -p raphtory --no-default-features --features "storage" | ||
doc-test: | ||
if: ${{ !inputs.skip_tests }} | ||
name: "Doc tests" | ||
|
@@ -118,7 +118,7 @@ jobs: | |
with: | ||
cache-all-crates: true | ||
- uses: webfactory/[email protected] | ||
name: Load raphtory-arrow key | ||
name: Load raphtory-disk_graph key | ||
with: | ||
ssh-private-key: ${{ secrets.RA_SSH_PRIVATE_KEY }} | ||
- name: Set up Python | ||
|
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,3 +1,3 @@ | ||
[submodule "raphtory-arrow-private"] | ||
path = raphtory-arrow-private | ||
url = [email protected]:Pometry/raphtory-arrow.git | ||
[submodule "pometry-storage-private"] | ||
path = pometry-storage-private | ||
url = [email protected]:Pometry/pometry-storage.git |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
Submodule pometry-storage-private
added at
9360b1
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 @@ | ||
[package] | ||
name = "pometry-storage" | ||
version = "0.8.1" |
File renamed without changes.
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.