example: bump to latest sweb version #117
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: Demo | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
base: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Install dependencies | |
run: | | |
sudo apt install -y qemu-utils qemu-system-x86 python3-yaml | |
- name: Run tortillas | |
run: | | |
python3 -m tortillas -S ./example | |
# Upload logs as test artifacts | |
# - uses: actions/upload-artifact@v3 | |
# if: always() | |
# with: | |
# name: test_logs | |
# path: /tmp/sweb/tortillas/**/out.log | |
- name: Adding markdown | |
if: always() | |
run: cat /tmp/sweb/tortillas_summary.md >> $GITHUB_STEP_SUMMARY | |
panic: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Checkout Sweb | |
uses: actions/checkout@v3 | |
with: | |
repository: PaideiaDilemma/tortillas-sweb | |
ref: panic | |
path: sweb | |
- name: Install dependencies | |
run: | | |
sudo apt install -y qemu-utils qemu-system-x86 python3-yaml | |
- name: Run tortillas | |
run: | | |
! python3 -m tortillas -S ./sweb | |
- name: Adding markdown | |
if: always() | |
run: cat /tmp/sweb/tortillas_summary.md >> $GITHUB_STEP_SUMMARY |