|
@@ -13,20 +13,15 @@ jobs:
|
|
|
uses: docker/setup-qemu-action@v1
|
|
|
- name: Set up Docker Buildx
|
|
|
uses: docker/setup-buildx-action@v1
|
|
|
- - name: Build Docker image
|
|
|
- uses: docker/build-push-action@v2
|
|
|
- with:
|
|
|
- context: .
|
|
|
- file: ./Dockerfile.arm32v7
|
|
|
- platforms: linux/arm/v7
|
|
|
- load: true
|
|
|
- tags: python-arm32v7:test
|
|
|
- - name: Test-start NiceGUI
|
|
|
+ - name: Test-start main.py
|
|
|
uses: addnab/docker-run-action@v3
|
|
|
with:
|
|
|
- image: python-arm32v7:test
|
|
|
+ image: arm32v7/python:3.9-slim-buster
|
|
|
options: -v ${{ github.workspace }}:/app
|
|
|
- run: python /app/main.py
|
|
|
+ run: |
|
|
|
+ cd /app && \
|
|
|
+ python -m pip install . && \
|
|
|
+ python main.py
|
|
|
|
|
|
test:
|
|
|
strategy:
|