Skip to content

Download attachment action #155

Download attachment action

Download attachment action #155

Workflow file for this run

name: Tests
on: [pull_request]
permissions:
packages: write
jobs:
run_tests:
runs-on: ubuntu-latest
steps:
# https://github.com/actions/checkout
- uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build containers
run: docker buildx bake --file docker-compose.yml --file docker-compose.cache.json meldingen-core
- name: Test
run: docker compose run --rm meldingen-core pytest --cov --cov-fail-under=100 -v