Skip to content

tests

tests #1117

Workflow file for this run

name: tests
on:
push:
branches:
- "**"
tags-ignore:
- "*.*"
schedule:
- cron: "12 12 * * *"
jobs:
tests:
strategy:
matrix:
arch: ["amd64", "arm64"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
with:
image: tonistiigi/binfmt:latest
platforms: linux/${{ matrix.arch }}
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v3
- name: Download and start db containers
run: make docker_dbs_setup_up
- name: Build image and run tests in container
env:
OGION_ARCH: ${{ matrix.arch }}
run: |
touch .env
make unit_tests