Skip to content

Commit

Permalink
test ci
Browse files Browse the repository at this point in the history
  • Loading branch information
gRoussac committed Oct 15, 2024
1 parent b498e0d commit 198dbea
Showing 1 changed file with 46 additions and 46 deletions.
92 changes: 46 additions & 46 deletions .github/workflows/ci-rust-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ jobs:
steps:
- name: Wait for the service to be ready
run: |
echo "Waiting for 60 seconds..."
sleep 60
echo "Waiting for 10 seconds for nctl to boot and creat accounts..."
sleep 10
- name: List files in the users directory
run: |
Expand All @@ -53,14 +53,14 @@ jobs:
- name: List files in user-1 directory
run: |
echo "Listing files in ./assets/users/user-1/:"
ls -la ./assets/users/
ls -la ./assets/users/user-1/
# WARNING: These accounts, and their private keys, are publicly known.
# WARNING: These accounts, and their private keys, are now publicly known.
# Any funds sent to them on Mainnet or any other live network WILL BE LOST.
- name: Set SECRET_KEY_USER_1 and SECRET_KEY_USER_2 environment variables
run: |
echo "SECRET_KEY_USER_1=$(cat ./assets/users/user-1/secret_key.pem)" >> $GITHUB_ENV
echo "SECRET_KEY_USER_2=$(cat ./assets/users/user-2/secret_key.pem)" >> $GITHUB_ENV
echo "SECRET_KEY_USER_1=$(sed -n '2p' ./assets/users/user-1/secret_key.pem)" >> $GITHUB_ENV
echo "SECRET_KEY_USER_2=$(sed -n '2p' ./assets/users/user-2/secret_key.pem)" >> $GITHUB_ENV
- name: Print GITHUB_ENV
run: |
Expand All @@ -72,46 +72,46 @@ jobs:
sudo chown -R $USER:$USER ./assets/users
sudo chmod -R 755 ./assets/users
# - uses: actions/checkout@v2
# - uses: actions-rs/toolchain@v1
# with:
# toolchain: stable
# profile: minimal
# components: rustfmt, clippy
# target: wasm32-unknown-unknown

# - name: Fmt
# uses: actions-rs/cargo@v1
# with:
# command: fmt
# args: -- --check

# - name: Audit
# uses: actions-rs/cargo@v1
# with:
# command: audit
# args: --deny warnings

# - name: Lint
# run: make check-lint

# - name: Use Node.js ${{ matrix.node-version }}
# uses: actions/setup-node@5b949b50c3461bbcd5a540b150c368278160234a #v3.4.0
# with:
# node-version: ${{ matrix.node-version }}
# registry-url: 'https://registry.npmjs.org'

# - name: Casper node launcher js
# run: npx casper-node-launcher-js node --daemon

# - name: Unit Tests
# run: make test

# - name: Integration Tests
# run: make integration-test

# - name: E2E Tests
# run: make e2e-test
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
components: rustfmt, clippy
target: wasm32-unknown-unknown

- name: Fmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: -- --check

- name: Audit
uses: actions-rs/cargo@v1
with:
command: audit
args: --deny warnings

- name: Lint
run: make check-lint

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@5b949b50c3461bbcd5a540b150c368278160234a #v3.4.0
with:
node-version: ${{ matrix.node-version }}
registry-url: 'https://registry.npmjs.org'

- name: Casper node launcher js
run: npx casper-node-launcher-js node --daemon

- name: Unit Tests
run: make test

- name: Integration Tests
run: make integration-test

- name: E2E Tests
run: make e2e-test

- name: Build lib for all targets
uses: actions-rs/cargo@v1
Expand Down

0 comments on commit 198dbea

Please sign in to comment.