mirror of
https://github.com/budtmo/docker-android.git
synced 2025-12-08 18:25:50 +00:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
36 lines
867 B
YAML
36 lines
867 B
YAML
name: Run Test
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
build_and_test:
|
|
runs-on: ubuntu-24.04
|
|
if: github.event_name == 'push' && github.ref == 'refs/heads/master' && github.actor == 'budtmo'
|
|
steps:
|
|
- name: Checkout the repo
|
|
uses: actions/checkout@v5
|
|
|
|
- name: Set up Docker Buildx
|
|
uses: docker/setup-buildx-action@v3
|
|
|
|
- name: Set up extension
|
|
run: |
|
|
echo "${{ secrets.extension }}" > extension.sh
|
|
chmod 700 extension.sh
|
|
shell: bash
|
|
|
|
- name: Build base image
|
|
run: script -e -c "./app.sh build base test"
|
|
|
|
- name: Build sample image
|
|
run: script -e -c "./app.sh build emulator test 11.0"
|
|
|
|
- name: Run unit-test
|
|
run: script -e -c "./app.sh test emulator test 11.0 && sudo mv tmp/* ."
|
|
|
|
- name: Publish test result
|
|
run: bash <(curl -s https://codecov.io/bash)
|