Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: make ic-repl work against PocketIC #99

Draft
wants to merge 8 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 11 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
test:
runs-on: ubuntu-latest
env:
DFX_VERSION: 0.24.0
DFX_VERSION: 0.24.2-beta.0
steps:
- uses: actions/checkout@v4
- name: Install stable Rust toolchain
Expand Down Expand Up @@ -38,12 +38,19 @@ jobs:
uses: dfinity/setup-dfx@main
with:
dfx-version: "${{ env.DFX_VERSION }}"
- name: Start replica using dfx
- name: Run e2e tests against replica
run: |
echo '{}' > dfx.json
dfx start --background
- name: e2e tests
dfx start --background --clean
set -ex
target/debug/ic-repl examples/install.sh
target/debug/ic-repl examples/func.sh
dfx stop
- name: Run e2e tests against PocketIC
run: |
echo '{}' > dfx.json
dfx start --background --clean --pocketic
set -ex
target/debug/ic-repl examples/install.sh
target/debug/ic-repl examples/func.sh
dfx stop
Loading
Loading