Skip to content

Commit

Permalink
Merge pull request #1095 from skalenetwork/develop
Browse files Browse the repository at this point in the history
Merge fixes from v2.7.x
  • Loading branch information
dmytrotkk authored Jul 19, 2024
2 parents 7297ffc + 6c1da5a commit e19dbfa
Show file tree
Hide file tree
Showing 28 changed files with 548 additions and 380 deletions.
30 changes: 29 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ env:
SGX_WALLET_TAG: "1.83.0-beta.5"
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
PYTHON_VERSION: 3.11

jobs:
test_core:
runs-on: ubuntu-latest
Expand All @@ -20,34 +21,61 @@ jobs:
- uses: actions/checkout@v2
with:
submodules: true

- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v1
with:
python-version: ${{ env.PYTHON_VERSION }}

- name: Install python dependencies
run: bash ./scripts/install_python_dependencies.sh

- name: Lint with flake8
run: flake8 .

- name: Launch anvil node
run: |
docker run -d --network host --name anvil ghcr.io/foundry-rs/foundry anvil && sleep 5 && docker logs anvil --tail 1000
- name: Deploy manager & ima contracts
run: |
bash ./helper-scripts/deploy_test_ima.sh
- name: Cleanup skale-manager image
run: |
docker rmi -f skalenetwork/skale-manager:${{ env.MANAGER_TAG }}
- name: Show stats before tests
if: always()
run: |
sudo lsblk -f
sudo free -h
- name: Run core tests
run: |
bash ./scripts/run_core_tests.sh
- name: Show stats after tests
- name: Cleanup docker artifacts
run: |
docker rm -f $(docker ps -aq)
docker rmi -f $(docker images -q)
- name: Show stats after core tests
if: always()
run: |
sudo lsblk -f
sudo free -h
- name: Run firewall tests
run: |
bash ./scripts/run_firewall_test.sh
- name: Show stats after firewall tests
if: always()
run: |
sudo lsblk -f
sudo free -h
- name: Run codecov
run: |
codecov -t $CODECOV_TOKEN
Loading

0 comments on commit e19dbfa

Please sign in to comment.