JanneKiiskila PR checker #152
Workflow file for this run
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
name: PR-check | ||
run-name: ${{ github.actor }} PR checker | ||
on: [push] | ||
# This allows a subsequently queued workflow run to interrupt previous runs | ||
concurrency: | ||
group: pe-utils-'${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}' | ||
cancel-in-progress: true | ||
jobs: | ||
run-shellcheck: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- run: shellcheck --version | ||
- name: Shellcheck fw-tools/edge-testnet | ||
run: | | ||
shellcheck fw-tools/edge-testnet | ||
fw-tools/edge-testnet | ||
- run: shellcheck edge-info/edge-info | ||
- run: cat /etc/os-release | ||
- run: edge-info/edge-info | ||
run-identity-tool-tests: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Run identity-tools tests | ||
run: | | ||
cd identity-tools/test-cases | ||
./test.sh | ||
- name: Create one developer identity-tools | ||
run: | | ||
cd identity-tools/developer_identity | ||
./create-dev-identity.sh -h | ||
./create-dev-identity.sh -d -w CI-test | ||
run-pysh-check: | ||
runs-on: ubuntu-22.04 | ||
env: | ||
PA_TOKEN: ${{ secrets.ACCESS_TOKEN }} # IzumaBOT Access Token | ||
steps: | ||
- uses: actions/checkout@v3 | ||
# Install pyshcheck tooling | ||
- run: sudo apt install 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" | ||
- run: git config --list | ||
# Linux coreutils is already installed wc -command can be found. | ||
- run: git clone [email protected]:PelionIoT/scripts-internal.git | ||
#- run: git clone https://github.com/PelionIoT/scripts-internal.git | ||
- run: echo "." >scripts-internal/.nopyshcheck | ||
- run: .github/workflows/pysh-checker.sh ${{ github.event.repository.default_branch }} ${{ github.ref_name }} | ||
run-edge-testnet: | ||
Check failure on line 54 in .github/workflows/pr-checker.yml GitHub Actions / PR-checkInvalid workflow file
|
||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Run edge-testnet | ||
run: fw-tools/edge-testnet | ||
versions-check: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- run: ./check_versions.sh |