You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
uplink-sys(test): Run integration tests in storj-up environment
Previously the `uplink-sys` integration tests had to use a Storj network
running somewhere or a external local environment that people had to set
it up manually.
The `uplink` crate was already using `storj-up` for its integration
tests.
This commit generalize the `storj-up` configuration used in the `uplink`
crate to make available to both crates and adapt the `uplink-sys`
Makefile, CI (Github workflow), and integration tests to use the
`storj-up` environment.
The changes make in the `uplink-sys` integration tests are only for
making easier to adapt it to `storj-up` environment despite, now, it
uses another function to get the access grant, the integration test was
not exactly testing the previous function, so it has not changed the end
goal of it.
There is a minimal change in the CI (Github workflow) of the `uplink`
crate that is out of the scope of this commit, but the changes are
minimal and shouldn't confuse the reviewers. The changes are for adding
a new step to the `check-implementation` job to simulate publishing the
crate in order to verify that any merged PR shouldn't break its version
publishing.
Copy file name to clipboardexpand all lines: .github/workflows/uplink-sys.yml
+1-10
Original file line number
Diff line number
Diff line change
@@ -27,23 +27,14 @@ jobs:
27
27
run: git submodule update --init
28
28
- name: Lint
29
29
run: make lint
30
-
# Clippy
31
-
#- name: clippy
32
-
# workaround for clippy bug where it emits warnings instead of errors if it's not a clean build (or in this case we just fudge the timestamps of .rs files)
run: | # The way how to check if the libs are have to date with only comparing libuplink.pc isn't ideal but it's what we have found that works.
38
34
make update-libs-docs-rs
39
35
test -z $(git ls-files -d -m -o .docs-rs/libuplink.pc) || (printf "the uplink-c library binaries for docs.rs aren't up to date. Update them with `make update-libs-docs-rs`\n" && exit 1)
Each crate matches a root's child directory with the same name and each directory has its own README which provides more detailed information and its current status.
20
+
Each crate matches a root's child directory with the same name and each directory has its own README
21
+
which provides more detailed information and its current status.
22
+
23
+
The root directory of this repository, apart of Cargo files for defining a workspace and this
24
+
README, it contains a _Makefile_ with targets to execute operations in both crates and operations that
25
+
are shared between both crates.
26
+
27
+
The _docker-compose.yaml_ file is for executing all the external services that the integration tests
0 commit comments