-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #62 from PelionIoT/make-ci-more-robust
Make CI more robust
- Loading branch information
Showing
1 changed file
with
3 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,7 @@ jobs: | |
runs-on: [ "self-hosted", "client" ] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- run: sudo apt-get update && sudo apt-get install -y shellcheck | ||
- run: shellcheck --version | ||
- name: Shellcheck fw-tools/edge-testnet | ||
run: shellcheck fw-tools/edge-testnet | ||
|
@@ -44,7 +45,7 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v4 | ||
# Install pyshcheck tooling | ||
- run: sudo apt install -y pycodestyle pydocstyle black | ||
- run: sudo apt-get update && sudo apt-get install -y pycodestyle pydocstyle black | ||
# git instead of rules to use access token | ||
- run: git config --global url."https://${{ secrets.ACCESS_TOKEN }}@github.com/".insteadOf "[email protected]:" | ||
- run: git config --global url."https://${{ secrets.ACCESS_TOKEN }}@github".insteadOf "https://github" | ||
|
@@ -75,7 +76,7 @@ jobs: | |
echo "Failed to run edge-testnet -d example.com" | ||
exit 1 | ||
fi | ||
- name: Check if it works with a custom domain & snap | ||
- name: Check if it works with a custom domain & SNAP env defined | ||
run: | | ||
if ! SNAP=snap fw-tools/edge-testnet --domain -pr-tester.pdm-sandbox.io -s --skip443 --skiptcp; then | ||
echo "Failed to run edge-testnet -d example.com with SNAP env defined" | ||
|