Skip to content

Commit

Permalink
Remove dynamic graph (#1055)
Browse files Browse the repository at this point in the history
* No need for a special DynamicGraph struct anymore

* no need for DynamicGraph struct

* refactor to make python bindings and io features rather than crates

* make sure we still run all the tests

* remove left-over files

* fix test workflow?

* remove deleted packages from release workflow

* add python and io to code coverage
  • Loading branch information
ljeub-pometry authored Jun 20, 2023
1 parent 8f36d3b commit ae08e53
Show file tree
Hide file tree
Showing 67 changed files with 665 additions and 739 deletions.
18 changes: 0 additions & 18 deletions .github/workflows/_release_rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,27 +61,9 @@ jobs:
with:
command: publish
args: --token ${{ secrets.CRATES_TOKEN }} --package raphtory --allow-dirty
- name: "Publish raphtory-io to crates.io"
if: ${{ !inputs.dry_run }}
uses: actions-rs/cargo@v1
with:
command: publish
args: --token ${{ secrets.CRATES_TOKEN }} --package raphtory-io --allow-dirty
- name: "Publish raphtory-graphql to crates.io"
if: ${{ !inputs.dry_run }}
uses: actions-rs/cargo@v1
with:
command: publish
args: --token ${{ secrets.CRATES_TOKEN }} --package raphtory-graphql --allow-dirty
- name: "Publish py-raphtory to crates.io"
if: ${{ !inputs.dry_run }}
uses: actions-rs/cargo@v1
with:
command: publish
args: --token ${{ secrets.CRATES_TOKEN }} --package py-raphtory --allow-dirty
- name: "Publish raphtory-pymodule to crates.io"
if: ${{ !inputs.dry_run }}
uses: actions-rs/cargo@v1
with:
command: publish
args: --token ${{ secrets.CRATES_TOKEN }} --package raphtory-pymodule --allow-dirty
2 changes: 1 addition & 1 deletion .github/workflows/code_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
with:
command: clean
- name: Run tests (rust)
run: cargo test -p raphtory
run: cargo test -p raphtory --features "io python"
env:
CARGO_INCREMENTAL: '0'
RUSTFLAGS: '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_rust_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
RUSTFLAGS: -Awarnings
with:
command: test
args: --all --no-default-features
args: --all --no-default-features --features "raphtory/io raphtory/python"
doc-test:
if: ${{ !inputs.skip_tests }}
name: "Doc tests"
Expand Down
Loading

0 comments on commit ae08e53

Please sign in to comment.