chore: update tokenvesting deployment script (#483) #1330
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: Stateless Tests | |
on: push | |
concurrency: | |
group: ${{ github.ref }}-${{ github.workflow }} | |
cancel-in-progress: true | |
jobs: | |
lint: | |
uses: ./.github/workflows/.lint.yml | |
stateless-tests: | |
name: Stateless Tests | |
needs: lint | |
runs-on: [self-hosted, linux, x64, ephemeral] | |
timeout-minutes: 360 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install Python virtualenv | |
run: pip install virtualenv | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "16" | |
- name: Install Poetry | |
uses: snok/install-poetry@v1 | |
- run: npm install --global ganache-cli | |
- run: npm install --global yarn | |
- run: yarn | |
- run: poetry install | |
- run: npx hardhat node & | |
- run: sleep 2 | |
- run: poetry run brownie test --network hardhat --stateful false |