Skip to content

Commit

Permalink
Merge pull request #52 from CoLearn-Dev/enable-tests
Browse files Browse the repository at this point in the history
enable tests
  • Loading branch information
stneng authored Feb 11, 2023
2 parents 4e6a2cc + 6c7f4a9 commit 6a129d7
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
env:
COLINK_SERVER_MQ_URI: ${{ matrix.mq_uri }}
COLINK_SERVER_MQ_API: ${{ matrix.mq_api }}
run: cargo test test_main # remove test_main after updating protocols(policy module, remote storage)
run: cargo test
- name: Run tests (standalone)
if: ${{ matrix.mq == 'standalone' }}
run: cargo test test_main # remove test_main after updating protocols(policy module, remote storage)
run: cargo test
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "colink"
version = "0.3.0"
version = "0.3.1"
edition = "2021"
description = "CoLink Rust SDK"
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ CoLink SDK helps both application and protocol developers access the functionali
Add this to your Cargo.toml:
```toml
[dependencies]
colink = "0.3.0"
colink = "0.3.1"
```

## Getting Started
Expand Down
2 changes: 1 addition & 1 deletion src/extensions/instant_server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ impl InstantServer {
.arg("bash -c \"$(curl -fsSL https://raw.githubusercontent.com/CoLearn-Dev/colinkctl/main/install_colink.sh)\"")
.env("COLINK_INSTALL_SERVER_ONLY", "true")
.env("COLINK_INSTALL_SILENT", "true")
.env("COLINK_SERVER_VERSION", "v0.3.0")
.env("COLINK_SERVER_VERSION", "v0.3.1")
.status()
.unwrap();
}
Expand Down
2 changes: 1 addition & 1 deletion tests/download-server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
set -e
rm -rf colink-server
mkdir colink-server && cd colink-server
wget https://github.com/CoLearn-Dev/colink-server-dev/releases/download/v0.3.0/colink-server-linux-x86_64.tar.gz
wget https://github.com/CoLearn-Dev/colink-server-dev/releases/download/v0.3.1/colink-server-linux-x86_64.tar.gz
tar -xzf colink-server-linux-x86_64.tar.gz
touch user_init_config.toml # create an empty user init config to prevent automatically starting protocols when importing users.
cd ..

0 comments on commit 6a129d7

Please sign in to comment.