Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
ielashi committed Mar 27, 2024
1 parent 8e4944e commit 4b7a466
Showing 1 changed file with 47 additions and 81 deletions.
128 changes: 47 additions & 81 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ jobs:

e2e-scenario-1:
runs-on: ubuntu-20.04
#needs: cargo-build
needs: cargo-build

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -178,13 +178,10 @@ jobs:
rustup default ${{ matrix.rust }}
rustup target add wasm32-unknown-unknown
- name: Install DFX
run: |
wget --output-document install-dfx.sh "https://internetcomputer.org/install.sh"
bash install-dfx.sh < <(yes Y)
rm install-dfx.sh
dfx cache install
echo "$HOME/bin" >> $GITHUB_PATH
- name: Install dfx
uses: dfinity/setup-dfx@main
with:
dfx-version: $DFX_VERSION

- name: Run scenario 2
run: |
Expand All @@ -210,13 +207,10 @@ jobs:
rustup default ${{ matrix.rust }}
rustup target add wasm32-unknown-unknown
- name: Install DFX
run: |
wget --output-document install-dfx.sh "https://internetcomputer.org/install.sh"
bash install-dfx.sh < <(yes Y)
rm install-dfx.sh
dfx cache install
echo "$HOME/bin" >> $GITHUB_PATH
- name: Install dfx
uses: dfinity/setup-dfx@main
with:
dfx-version: $DFX_VERSION

- name: Run scenario 3
run: |
Expand All @@ -242,13 +236,10 @@ jobs:
rustup default ${{ matrix.rust }}
rustup target add wasm32-unknown-unknown
- name: Install DFX
run: |
wget --output-document install-dfx.sh "https://internetcomputer.org/install.sh"
bash install-dfx.sh < <(yes Y)
rm install-dfx.sh
dfx cache install
echo "$HOME/bin" >> $GITHUB_PATH
- name: Install dfx
uses: dfinity/setup-dfx@main
with:
dfx-version: $DFX_VERSION

- name: Run disable api if not fully synced flag
run: |
Expand All @@ -274,13 +265,10 @@ jobs:
rustup default ${{ matrix.rust }}
rustup target add wasm32-unknown-unknown
- name: Install DFX
run: |
wget --output-document install-dfx.sh "https://internetcomputer.org/install.sh"
bash install-dfx.sh < <(yes Y)
rm install-dfx.sh
dfx cache install
echo "$HOME/bin" >> $GITHUB_PATH
- name: Install dfx
uses: dfinity/setup-dfx@main
with:
dfx-version: $DFX_VERSION

- name: Run charge cycles on reject
run: |
Expand All @@ -306,13 +294,10 @@ jobs:
rustup default ${{ matrix.rust }}
rustup target add wasm32-unknown-unknown
- name: Install DFX
run: |
wget --output-document install-dfx.sh "https://internetcomputer.org/install.sh"
bash install-dfx.sh < <(yes Y)
rm install-dfx.sh
dfx cache install
echo "$HOME/bin" >> $GITHUB_PATH
- name: Install dfx
uses: dfinity/setup-dfx@main
with:
dfx-version: $DFX_VERSION

- name: Run upgradability test
run: |
Expand All @@ -338,13 +323,10 @@ jobs:
rustup default ${{ matrix.rust }}
rustup target add wasm32-unknown-unknown
- name: Install DFX
run: |
wget --output-document install-dfx.sh "https://internetcomputer.org/install.sh"
bash install-dfx.sh < <(yes Y)
rm install-dfx.sh
dfx cache install
echo "$HOME/bin" >> $GITHUB_PATH
- name: Install dfx
uses: dfinity/setup-dfx@main
with:
dfx-version: $DFX_VERSION

- name: Run set_config test
run: |
Expand All @@ -370,17 +352,13 @@ jobs:
rustup default ${{ matrix.rust }}
rustup target add wasm32-unknown-unknown
- name: Install DFX
run: |
wget --output-document install-dfx.sh "https://internetcomputer.org/install.sh"
bash install-dfx.sh < <(yes Y)
rm install-dfx.sh
dfx cache install
echo "$HOME/bin" >> $GITHUB_PATH
- name: Install dfx
uses: dfinity/setup-dfx@main
with:
dfx-version: $DFX_VERSION

- name: Run cycles_burn test
run: |
bash e2e-tests/cycles_burn.sh
- name: Run cycles_burn test
run: bash e2e-tests/cycles_burn.sh

benchmark:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -445,13 +423,10 @@ jobs:
rustup default ${{ matrix.rust }}
rustup target add wasm32-unknown-unknown
- name: Install DFX
run: |
wget --output-document install-dfx.sh "https://internetcomputer.org/install.sh"
bash install-dfx.sh < <(yes Y)
rm install-dfx.sh
dfx cache install
echo "$HOME/bin" >> $GITHUB_PATH
- name: Install dfx
uses: dfinity/setup-dfx@main
with:
dfx-version: $DFX_VERSION

- name: Run health_status test
run: |
Expand All @@ -477,13 +452,10 @@ jobs:
rustup default ${{ matrix.rust }}
rustup target add wasm32-unknown-unknown
- name: Install DFX
run: |
wget --output-document install-dfx.sh "https://internetcomputer.org/install.sh"
bash install-dfx.sh < <(yes Y)
rm install-dfx.sh
dfx cache install
echo "$HOME/bin" >> $GITHUB_PATH
- name: Install dfx
uses: dfinity/setup-dfx@main
with:
dfx-version: $DFX_VERSION

- name: Run get_config test
run: |
Expand All @@ -509,13 +481,10 @@ jobs:
rustup default ${{ matrix.rust }}
rustup target add wasm32-unknown-unknown
- name: Install DFX
run: |
wget --output-document install-dfx.sh "https://internetcomputer.org/install.sh"
bash install-dfx.sh < <(yes Y)
rm install-dfx.sh
dfx cache install
echo "$HOME/bin" >> $GITHUB_PATH
- name: Install dfx
uses: dfinity/setup-dfx@main
with:
dfx-version: $DFX_VERSION

- name: Run metrics test
run: |
Expand All @@ -541,13 +510,10 @@ jobs:
rustup default ${{ matrix.rust }}
rustup target add wasm32-unknown-unknown
- name: Install DFX
run: |
wget --output-document install-dfx.sh "https://internetcomputer.org/install.sh"
bash install-dfx.sh < <(yes Y)
rm install-dfx.sh
dfx cache install
echo "$HOME/bin" >> $GITHUB_PATH
- name: Install dfx
uses: dfinity/setup-dfx@main
with:
dfx-version: $DFX_VERSION

- name: Run upgradability test
run: |
Expand Down

0 comments on commit 4b7a466

Please sign in to comment.