Skip to content

Commit

Permalink
Merge pull request #62 from PelionIoT/make-ci-more-robust
Browse files Browse the repository at this point in the history
Make CI more robust
  • Loading branch information
JanneKiiskila authored May 31, 2024
2 parents 9d9bb66 + b576a3e commit 8787591
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/pr-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 8787591

Please sign in to comment.