From 8b91d94fa03836566653fd58355a43aac3333304 Mon Sep 17 00:00:00 2001 From: Jessica Gadling Date: Wed, 16 Aug 2023 17:38:34 -0700 Subject: [PATCH] Architecture. --- .github/workflows/entities-push-tests.yml | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/.github/workflows/entities-push-tests.yml b/.github/workflows/entities-push-tests.yml index 92803c53..de8201bb 100644 --- a/.github/workflows/entities-push-tests.yml +++ b/.github/workflows/entities-push-tests.yml @@ -15,20 +15,34 @@ jobs: py-lint: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3.5.3 + - uses: actions/checkout@v3 + # Enable ARM + - name: Set up QEMU + uses: docker/setup-qemu-action@v2 + with: + platforms: arm64 + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v2 + # Build images and run linters - name: Lint Python working-directory: entities run: | - # Build images and run linters make local-build make check-lint py-test: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3.5.3 + - uses: actions/checkout@v3 + # Enable ARM + - name: Set up QEMU + uses: docker/setup-qemu-action@v2 + with: + platforms: arm64 + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v2 + # Set up a local dev env and run tests - name: Run tests working-directory: entities run: | - # Set up a local dev env and run tests make local-init make local-tests