Skip to content

Commit

Permalink
Enable tests on client-runner-20
Browse files Browse the repository at this point in the history
snap should work now?
  • Loading branch information
JanneKiiskila committed Apr 30, 2024
1 parent 7e64028 commit 25be914
Showing 1 changed file with 18 additions and 20 deletions.
38 changes: 18 additions & 20 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
if-no-files-found: error

test:
runs-on: ubuntu-22.04
runs-on: [ "self-hosted", "client-runner-20" ]
needs: build-snap
timeout-minutes: 40
env:
Expand Down Expand Up @@ -136,29 +136,27 @@ jobs:
exit 1
fi
# Disabled for now - reboot is required to get installation working correctly,
# we cannot however reboot a GitHub runner mid-job.
# - name: Run snap-test
# if: ${{ failure() }} || ${{ success() }}
# run: |
# cd e2e-edge-test-suite
# ../scripts-internal/snap/snap-test.sh -a ${{ secrets.IZUMA_ACCESS_KEY }}
- name: Run snap-test
if: ${{ failure() }} || ${{ success() }}
run: |
cd e2e-edge-test-suite
../scripts-internal/snap/snap-test.sh -a ${{ secrets.IZUMA_ACCESS_KEY }}
- name: Remove snap
if: always()
run: |
sudo scripts-internal/snap/snap-remove.sh -a ${{ secrets.IZUMA_ACCESS_KEY }} -s pelion-edge
# - name: Archive the pytest.log
# uses: actions/upload-artifact@v4
# with:
# name: pytest.log
# path: e2e-edge-test-suite/pytest.log
# if-no-files-found: error
# - name: Publish Test Results
# uses: EnricoMi/publish-unit-test-result-action@v2
# if: always()
# with:
# files: |
# results.xml
- name: Archive the pytest.log
uses: actions/upload-artifact@v4
with:
name: pytest.log
path: e2e-edge-test-suite/pytest.log
if-no-files-found: error
- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action@v2
if: always()
with:
files: |
results.xml
- name: Clean up .gitconfig
if: always()
run: rm -f ~/.gitconfig
Expand Down

0 comments on commit 25be914

Please sign in to comment.