From e65341ad43b13c53c7933ac199e03414906dea2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=BDvikart?= <7929905+jzvikart@users.noreply.github.com> Date: Sat, 28 Oct 2023 10:10:31 +0200 Subject: [PATCH] WIP --- .github/workflows/integrationtest2.yml | 36 ------------------- .github/workflows/integrationtest3.yml | 30 ---------------- .../setup-linux-environment-user.sh | 3 +- 3 files changed, 1 insertion(+), 68 deletions(-) delete mode 100644 .github/workflows/integrationtest2.yml delete mode 100644 .github/workflows/integrationtest3.yml diff --git a/.github/workflows/integrationtest2.yml b/.github/workflows/integrationtest2.yml deleted file mode 100644 index 458f11f72e..0000000000 --- a/.github/workflows/integrationtest2.yml +++ /dev/null @@ -1,36 +0,0 @@ -name: Run integration tests 2 for any chain (peg) -on: - push: - paths-ignore: - - "ui/**" - -jobs: - integration: - timeout-minutes: 40 - runs-on: ubuntu-20.04 - steps: - - uses: actions/checkout@v2 - - uses: actions/checkout@v2 - with: - repository: Sifchain/sifchain-devops - path: deploy - token: "${{ secrets.GIT_PAT }}" - - name: Set up linux environment - run: # installs development tools and updates .bash_profile - bash test/integration/setup-linux-environment.sh - - name: Setup integration test environment - run: | - source $HOME/.bash_profile - bash test/integration/start-integration-env.sh - - name: Execute test chain integration tests - run: | - source $HOME/.bash_profile - . test/integration/vagrantenv.sh - export LOG_LEVEL=DEBUG - bash test/integration/execute_integration_tests_against_any_chain.sh - - name: Archive logs from test - uses: actions/upload-artifact@v2 - if: always() - with: - name: testlogs2 - path: test/integration diff --git a/.github/workflows/integrationtest3.yml b/.github/workflows/integrationtest3.yml deleted file mode 100644 index ca335b6a46..0000000000 --- a/.github/workflows/integrationtest3.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: Run integration tests 3 for test chain (clp) -on: - push: - paths-ignore: - - "ui/**" - -jobs: - integration: - timeout-minutes: 40 - runs-on: ubuntu-20.04 - steps: - - uses: actions/checkout@v2 - - uses: actions/checkout@v2 - with: - repository: Sifchain/sifchain-devops - path: deploy - token: "${{ secrets.GIT_PAT }}" - - name: Set up linux environment - run: # installs development tools and updates .bash_profile - bash test/integration/setup-linux-environment.sh - - name: Setup integration test environment - run: | - source $HOME/.bash_profile - bash test/integration/start-integration-env.sh - - name: Execute test chain integration tests - run: | - source $HOME/.bash_profile - . test/integration/vagrantenv.sh - export LOG_LEVEL=DEBUG - bash test/integration/execute_integration_tests_against_test_chain_clp.sh diff --git a/test/integration/setup-linux-environment-user.sh b/test/integration/setup-linux-environment-user.sh index f16264349c..8673a0fcf6 100644 --- a/test/integration/setup-linux-environment-user.sh +++ b/test/integration/setup-linux-environment-user.sh @@ -27,5 +27,4 @@ echo '. ~/.bash_profile' >> ~/.bashrc . ~/.bash_profile curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.33.0 -python3 -m pip install -U pytest web3 grpcio-tools toml - +python3 -m pip install pytest==7.4.3 web3==6.11.1 grpcio-tools==1.599.0 toml==0.10.2 PyYAML==6.0.1