-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
32 changed files
with
5,016 additions
and
2,658 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,7 +27,7 @@ runs: | |
override: true | ||
|
||
- name: Cache cargo | ||
uses: actions/[email protected].6 | ||
uses: actions/[email protected].7 | ||
with: | ||
# https://doc.rust-lang.org/cargo/guide/cargo-home.html#caching-the-cargo-home-in-ci | ||
path: | | ||
|
@@ -52,7 +52,7 @@ runs: | |
command: update | ||
|
||
- name: Cache build target | ||
uses: actions/[email protected].6 | ||
uses: actions/[email protected].7 | ||
with: | ||
path: ${{ inputs.target-cache-path }} | ||
# Add date to the cache to keep it up to date | ||
|
@@ -63,7 +63,7 @@ runs: | |
${{ inputs.os }}-target- | ||
- name: Cache sccache | ||
uses: actions/[email protected].6 | ||
uses: actions/[email protected].7 | ||
with: | ||
path: ${{ inputs.sccache-path }} | ||
key: ${{ inputs.os }}-sccache-${{ inputs.job }}-${{ hashFiles('**/Cargo.lock') }} | ||
|
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 was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
{ | ||
"screenshotOnRunFailure": false, | ||
"video": false | ||
"video": false, | ||
"retries": { | ||
"runMode": 3 | ||
} | ||
} |
This file was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import { | ||
createDiff, | ||
defaultClientConfig, | ||
initIdentity, | ||
} from '../../examples/dist/web' | ||
|
||
describe( | ||
"createDiff", | ||
{ | ||
defaultCommandTimeout: 1000*60*3, // 3 minutes to account for spurious network delays | ||
}, | ||
() => { | ||
before(async () => { | ||
// The working directory is under __cypress at test runtime, so we need to go up one more level than usual | ||
await initIdentity('../../../examples/dist/identity_wasm_bg.wasm'); | ||
|
||
// NOTE: `cy.wrap(defaultClientConfig()).as('config')` does not always work to make the config available | ||
// from the shared context as `this.config` because it has a race condition with initializing the wasm. | ||
// So call `defaultClientConfig()` manually for now. | ||
}); | ||
it("Diff Chain", async () => { | ||
await createDiff(defaultClientConfig()); | ||
}); | ||
} | ||
); |
Oops, something went wrong.