Skip to content

Commit

Permalink
add mac m1 action
Browse files Browse the repository at this point in the history
  • Loading branch information
tobybellwood authored Jan 30, 2024
1 parent 410f5e2 commit c5dbc8f
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/images-test-mac-m1.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Image test routine

on:
push:
branches:
- 'main'
- 'dev'
pull_request:
branches:
- 'main'

jobs:
test-suite:
runs-on: macos-14
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: "0"
- uses: docker-practice/actions-setup-docker@master
timeout-minutes: 12
- run: |
# set -x
docker version
docker compose version
docker-compose version
cat /etc/docker/daemon.json || true
cat /Users/runner/.docker/daemon.json || true
docker buildx version || true
docker buildx ls || true
docker run --rm hello-world
- name: Pull all images
run: |
docker compose pull --ignore-pull-failures
- name: Install test harness
run: |
yarn add leia-parser mocha chai@4 command-line-test
- name: Generate test files
run: |
yarn leia "TESTING*.md" test -r 2 -s 'Start up tests' -t 'Verification commands' -c 'Destroy tests' --split-file
- name: Run docker-compose tests
run: |
yarn mocha --timeout 900000 test/*compose*.func.js

0 comments on commit c5dbc8f

Please sign in to comment.