Skip to content

Commit

Permalink
add integration tests for main & dev
Browse files Browse the repository at this point in the history
  • Loading branch information
peterjah committed Oct 29, 2024
1 parent abb8e33 commit ee340ef
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 8 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: (workspace) Deploy documentation
name: Deploy documentation

on:
push:
Expand Down Expand Up @@ -26,3 +26,4 @@ jobs:
key: ${{ secrets.MASSANET_SSHKEY }}
source: "./massa-web3"
target: "/var/www/type-doc"
port: 22000
2 changes: 1 addition & 1 deletion .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: (next) Integration tests
name: Integration tests

on:
workflow_call:
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/npm-publish-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,13 @@ on:
branches: [main, buildnet]

jobs:
test:
uses: ./.github/workflows/unit-tests.yml
integration-tests:
uses: ./.github/workflows/integration-tests.yml
secrets:
PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}

publish-npm-dev:
needs: test
needs: integration-tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@ on:
types: [created]

jobs:
test:
uses: ./.github/workflows/unit-tests.yml
integration-tests:
uses: ./.github/workflows/integration-tests.yml
secrets:
PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}

publish-npm:
needs: test
needs: integration-tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit ee340ef

Please sign in to comment.