update e2e test #41
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
name: Run tests | |
on: | |
push: | |
branches: | |
- main | |
- master | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- uses: dfinity/setup-dfx@main | |
with: | |
dfx-version: 0.17.0 | |
- name: install vessel | |
run: | | |
wget --output-document /home/runner/bin/vessel https://github.com/kritzcreek/vessel/releases/download/v0.7.0/vessel-linux64 | |
chmod +x /home/runner/bin/vessel | |
- name: install mops | |
run: npm i ic-mops -g | |
- name: npm install | |
run: npm install | |
- name: git submodule update | |
run: git submodule update --init | |
- name: create set-deploy-env.zsh | |
run: | | |
touch set-deploy-env.zsh | |
echo export 'WALLET_ADDRESS="e82226d3101bd8525111e2c6501a79365f2484d82d3f2be96269b78fe200eeaa"' > set-deploy-env.zsh | |
- name: test | |
run: | | |
npm run replica | |
mops test -r files | |
npm test |