Skip to content

ci: add dagger

ci: add dagger #16

Workflow file for this run

name: CI Workflow (dagger)
on:
push:
branches:
- ci/dagger
jobs:
realworld-tests:
timeout-minutes: 10
runs-on: ubuntu-latest
services:
mongo:
image: bitnami/mongodb:4.4-debian-10
ports:
- 27017:27017
env:
MONGODB_ROOT_PASSWORD: root
MONGODB_USERNAME: app
MONGODB_PASSWORD: app
MONGODB_DATABASE: test
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: "3.10"
cache: "pip"
- name: Dagger install
run: pip install dagger.io==0.9.3
- name: Run dagger tests
run: python .dagger/ci.py