Update tests.yml

cleanup
This commit is contained in:
Ace 2023-07-24 12:12:43 +02:00 committed by GitHub
parent bb6dea764a
commit 03af817ab8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,8 +6,8 @@ on:
- main - main
jobs: jobs:
clone-setup-install: update-docs:
name: Clone, Setup, and Install name: update docs
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
@ -40,13 +40,13 @@ jobs:
- name: push docs - name: push docs
run: | run: |
git config user.name github-actions git config user.name "github-actions"
git config user.email github-actions@github.com git config user.email "actions@github.com"
git add docs/* git add docs/*
git commit -m "update docs" git commit -m "update docs"
git push git push
- name: Create Archive - name: Create artifact
run: | run: |
mkdir artefacts mkdir artefacts
tar -czf artefacts/workspace.tar.gz --exclude=./artefacts . tar -czf artefacts/workspace.tar.gz --exclude=./artefacts .
@ -59,7 +59,7 @@ jobs:
test-on-arm: test-on-arm:
name: Run Tests on Raspberry Pi OS name: Run Tests on Raspberry Pi OS
needs: clone-setup-install needs: update-docs
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions: permissions:
contents: write contents: write
@ -85,7 +85,7 @@ jobs:
with: with:
# Set the base_image to the desired Raspberry Pi OS version # Set the base_image to the desired Raspberry Pi OS version
base_image: raspios_lite:latest base_image: raspios_lite:latest
image_additional_mb: 2000 # enlarge free space to 2 GB image_additional_mb: 1000 # enlarge free space to 2 GB
# Set the commands to run the tests # Set the commands to run the tests
commands: | commands: |
apt-get update -y apt-get update -y
@ -105,7 +105,6 @@ jobs:
run: | run: |
mv ${{ steps.build_image.outputs.image }} inkycal_os.img mv ${{ steps.build_image.outputs.image }} inkycal_os.img
xz -0 -T 0 -v inkycal_os.img xz -0 -T 0 -v inkycal_os.img
ls
- name: Get latest release version - name: Get latest release version
run: | run: |