Skip to content

Commit

Permalink
.github: use stable node version to run tests, closes #751
Browse files Browse the repository at this point in the history
Signed-off-by: Evgeniy Zayats <[email protected]>
  • Loading branch information
Evgeniy Zayats committed Apr 23, 2024
1 parent e7c12b8 commit 14d6759
Showing 1 changed file with 39 additions and 24 deletions.
63 changes: 39 additions & 24 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,6 @@ jobs:
uses: actions/checkout@v4
with:
path: neofs-testcases

- name: Checkout neofs-node repository
uses: actions/checkout@v4
with:
repository: nspcc-dev/neofs-node
ref: 'master'
path: neofs-node

#################################################################
- name: Set up Go
Expand Down Expand Up @@ -88,12 +81,45 @@ jobs:
sudo python ./tools/src/openssl_config_fix.py
working-directory: neofs-testcases

- name: Build neofs-node
timeout-minutes: 5
run: |
make all
echo "$(pwd)/bin" >> $GITHUB_PATH
working-directory: neofs-node
- name: Download latest stable neofs-cli
uses: dsaltares/[email protected]
with:
repo: 'nspcc-dev/neofs-node'
version: 'tags/v0.41.0'
file: 'neofs-cli-linux-amd64'
target: 'neofs-testcases/neofs-cli'

- name: Download latest stable neofs-adm
uses: dsaltares/[email protected]
with:
repo: 'nspcc-dev/neofs-node'
version: 'tags/v0.41.0'
file: 'neofs-adm-linux-amd64'
target: 'neofs-testcases/neofs-adm'

- name: Download latest stable neofs-ir
uses: dsaltares/[email protected]
with:
repo: 'nspcc-dev/neofs-node'
version: 'tags/v0.41.0'
file: 'neofs-ir-linux-amd64'
target: 'neofs-testcases/neofs-ir'

- name: Download latest stable neofs-lens
uses: dsaltares/[email protected]
with:
repo: 'nspcc-dev/neofs-node'
version: 'tags/v0.41.0'
file: 'neofs-lens-linux-amd64'
target: 'neofs-testcases/neofs-lens'

- name: Download latest stable neofs-node
uses: dsaltares/[email protected]
with:
repo: 'nspcc-dev/neofs-node'
version: 'tags/v0.41.0'
file: 'neofs-node-linux-amd64'
target: 'neofs-testcases/neofs-node'

- name: Download latest stable neofs-s3-gw
uses: dsaltares/[email protected]
Expand Down Expand Up @@ -127,17 +153,6 @@ jobs:
file: 'neo-go-linux-amd64'
target: 'neofs-testcases/neo-go'

- name: Copy built binaries
timeout-minutes: 30
run: |
ls -la ../neofs-node/bin
cp ../neofs-node/bin/neofs-adm .
cp ../neofs-node/bin/neofs-cli .
cp ../neofs-node/bin/neofs-ir .
cp ../neofs-node/bin/neofs-lens .
cp ../neofs-node/bin/neofs-node .
working-directory: neofs-testcases

- name: Chmod latest stable binaries
run: |
sudo chmod a+x neofs-cli
Expand Down

0 comments on commit 14d6759

Please sign in to comment.