Ideas about smoke tests #18
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: e2e smoke tests with spread | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
run-spread-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-go@v5 | |
with: | |
check-latest: true | |
go-version: 'stable' | |
- name: Install spread | |
run: | | |
go install github.com/snapcore/spread/cmd/spread@latest | |
- name: Run tests | |
run: | | |
sudo adduser --gecos "" --disabled-password ubuntu | |
echo "ubuntu:ubuntu" | sudo chpasswd | |
spread github-ci: | |
- name: Tmate debugging session | |
if: ${{ failure() }} | |
uses: mxschmitt/action-tmate@v3 | |
timeout-minutes: 15 |