Skip to content
This repository has been archived by the owner on Jun 15, 2024. It is now read-only.

Update juge.yml

Update juge.yml #8

Workflow file for this run

name: Tests
on:
push:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: "3.12"
- name: Install python dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Install package dependencies
uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: gcc-arm-linux-gnueabi qemu-user
version: 1.0
- name: Test
run: |
mkdir output
juge="$(python ./juge.py 2>&1)"
echo "::group::Juge"
echo "$juge"
echo "::endgroup::"
echo "<details><summary>${juge##*$'\n'}</summary>${juge//$'\n'/'<br/>'}</details>" >> $GITHUB_STEP_SUMMARY