Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
parity
Mirrored projects
jsonrpsee
Commits
f5870e2d
Unverified
Commit
f5870e2d
authored
Nov 21, 2022
by
Niklas Adolfsson
Browse files
install chrome + firefox
parent
1bc99d83
Pipeline
#227942
failed with stages
in 2 minutes and 18 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.github/workflows/ci.yml
View file @
f5870e2d
...
...
@@ -167,11 +167,21 @@ jobs:
steps
:
-
uses
:
actions/checkout@v3.1.0
-
name
:
Install Rust stable toolchain
uses
:
actions-rs/toolchain@v1.0.7
with
:
profile
:
minimal
toolchain
:
stable
override
:
true
-
name
:
Install wasm-pack
run
:
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
-
name
:
Install firefox
run
:
apt update && apt install firefox
-
name
:
Setup firefox
uses
:
browser-actions/setup-firefox@latest
-
name
:
Setup chrome
uses
:
browser-actions/setup-chrome@latest
-
name
:
Download Substrate
run
:
|
...
...
@@ -179,11 +189,12 @@ jobs:
chmod +x substrate
mkdir -p ~/.local/bin
mv substrate ~/.local/bin
-
name
:
Run WASM tests
run
:
|
substrate --dev --tmp > /dev/null 2>&1 &
firefox --version
#
wasm-pack test --headless --firefox
wasm-pack test --headless --firefox
wasm-pack test --headless --chrome
pkill substrate
working-directory
:
wasm-tests
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment