Skip to content

Commit

Permalink
github ci update
Browse files Browse the repository at this point in the history
  • Loading branch information
F4ever committed Aug 22, 2023
1 parent 6d74efb commit 4403e84
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/tests_and_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,23 @@ jobs:
run: |
poetry install
- name: Test with pytest
- name: [Unit] Test with pytest
run: |
poetry run pytest tests
poetry run pytest tests -m unit
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
- run: npm install --save-dev hardhat

- name: Run hardhat
run: |
npx hardhat node --fork ${{ secrets.WEB3_RPC_ENDPOINT }}
- name: [Integration] Test with pytest
run: |
poetry run pytest tests -m integration
env:
WEB3_RPC_ENDPOINTS: http://127.0.0.1:8545

security:
uses: lidofinance/linters/.github/workflows/security.yml@master
Expand Down

0 comments on commit 4403e84

Please sign in to comment.