-
Notifications
You must be signed in to change notification settings - Fork 41
ci: add GitHub Actions workflow #352
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
…types-export fix: move bn.js type to dependency to fix BN type reexport issue
211124e
to
8fbbdea
Compare
.github/workflows/main.yml
Outdated
--health-retries 5 | ||
|
||
ipfs: | ||
image: ipfs/go-ipfs:v0.9.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Replace with kubo
.github/workflows/main.yml
Outdated
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | ||
SONAR_HOST_URL: ${{ vars.SONAR_HOST_URL }} | ||
|
||
# Check for node 20 tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
EOL
.github/workflows/main.yml
Outdated
env: | ||
FORK_URL: ${{ steps.prepare.outputs.bellecour_url }} | ||
FORK_BLOCK: ${{ steps.prepare.outputs.bellecour_block }} | ||
command: > |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use options instead command
.github/workflows/main.yml
Outdated
options: >- | ||
--entrypoint bash | ||
--mount type=bind,source=${{ github.workspace }}/local-stack-env,target=/local-stack-env | ||
command: -c "export START_BLOCK=$(cat /local-stack-env/BELLECOUR_FORK_BLOCK) && cd /app && npm start" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use options instead command
.github/workflows/main.yml
Outdated
options: >- | ||
--entrypoint bash | ||
--mount type=bind,source=${{ github.workspace }}/local-stack-env,target=/local-stack-env | ||
command: -c "export VOUCHER_HUB_START_BLOCK=$(cat /local-stack-env/BELLECOUR_FORK_BLOCK) && cd /iexec-voucher-subgraph && npm run all" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use options instead command
* feat: add experimental networks default config * test: reduce flakyness of tests based on RPC API providers * test: add config module unit tests * feat: add allowExperimentalNetworks option in chain.json * feat: add allowExperimentalNetworks option in IExecConfig * feat: add experimental network arbitrum-sepolia-testnet * feat: add allowExperimentalNetworks in getSignerFromPrivateKey * refactor: move defaults hub address in config * docs: update comment Co-authored-by: Robin Le Caignec <[email protected]> * refactor: networks are not considered experimental by default * fix: prevent unneeded errors when voucher is not deployed but not used --------- Co-authored-by: Robin Le Caignec <[email protected]>
01a4035
to
8e5fdf9
Compare
This pull request introduces a new GitHub Actions workflow to automate testing and code quality checks for the SDK. The workflow is triggered on pull requests and includes steps for dependency installation, environment preparation, building, formatting, linting, testing, and running SonarScanner for code quality analysis.
New GitHub Actions workflow:
.github/workflows/main.yml
: Added a new workflow named "Test SDK" that runs onubuntu-latest
. It includes steps to: