Skip to content

tests: do not try to install mongo on alpine hosts #88

tests: do not try to install mongo on alpine hosts

tests: do not try to install mongo on alpine hosts #88

Workflow file for this run

name: Run tests
on: [push]
jobs:
run_tests:
name: Run tests
runs-on: ubuntu-22.04
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Run tests
# env:
# SOPS_AGE_KEY: ${{ secrets.SOPS_AGE_KEY }}
run: bash ./scripts/run_tests.sh
run_container_tests:
name: Run tests in containers
runs-on: ubuntu-22.04
strategy:
matrix:
image: [ "debian:12", "alpine:3.18" ]
container:
image: ${{ matrix.image }}
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Add bash to alpine
if: ${{ contains(matrix.image, 'alpine') }}
run: apk add bash
- name: Run tests
# env:
# SOPS_AGE_KEY: ${{ secrets.SOPS_AGE_KEY }}
run: bash ./scripts/run_tests.sh