feat(scripts): pass custom nonce to safe tx #134
Workflow file for this run
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: Test | |
on: | |
push: | |
branches: | |
- master | |
- develop | |
pull_request: | |
jobs: | |
functional: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "16" | |
- name: Install NodeJS dependencies | |
run: npm ci && echo "$GITHUB_WORKSPACE/node_modules/.bin" >> "$GITHUB_PATH" | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.9.16" | |
- name: Install poetry requirements | |
run: > | |
curl -sSL https://install.python-poetry.org | python - && | |
poetry install --no-root | |
- name: Run Tests | |
run: > | |
poetry run brownie test tests/functional/ | |
--network development --gas --coverage --revert-tb --disable-warnings | |
integration: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "16" | |
- name: Install NodeJS dependencies | |
run: npm ci && echo "$GITHUB_WORKSPACE/node_modules/.bin" >> "$GITHUB_PATH" | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.9.16" | |
- name: Install poetry requirements | |
run: > | |
curl -sSL https://install.python-poetry.org | python - && | |
poetry install --no-root | |
- name: Run Tests | |
run: > | |
poetry run brownie test tests/integration/ | |
--network development -s --revert-tb --disable-warnings |