mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
run tests in container
This commit is contained in:
parent
ffee9c8065
commit
7cabf8e5f5
20
.github/workflows/pull_request.yml
vendored
20
.github/workflows/pull_request.yml
vendored
@ -45,7 +45,7 @@ jobs:
|
|||||||
run: npm run test
|
run: npm run test
|
||||||
working-directory: ./web
|
working-directory: ./web
|
||||||
|
|
||||||
docker_tests_on_aarch64:
|
python_tests:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out code
|
- name: Check out code
|
||||||
@ -54,17 +54,7 @@ jobs:
|
|||||||
uses: docker/setup-qemu-action@v1
|
uses: docker/setup-qemu-action@v1
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v1
|
uses: docker/setup-buildx-action@v1
|
||||||
- name: Build and run tests
|
- name: Build
|
||||||
run: make run_tests PLATFORM="linux/arm64/v8" ARCH="aarch64"
|
run: make
|
||||||
|
- name: Run tests
|
||||||
docker_tests_on_amd64:
|
run: docker run --rm --entrypoint=python3 frigate:latest -u -m unittest
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Check out code
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
- name: Set up QEMU
|
|
||||||
uses: docker/setup-qemu-action@v1
|
|
||||||
- name: Set up Docker Buildx
|
|
||||||
uses: docker/setup-buildx-action@v1
|
|
||||||
- name: Build and run tests
|
|
||||||
run: make run_tests PLATFORM="linux/amd64" ARCH="amd64"
|
|
||||||
|
Loading…
Reference in New Issue
Block a user