Skip to content

Merge pull request #38 from fractal-analytics-platform/minors #110

Merge pull request #38 from fractal-analytics-platform/minors

Merge pull request #38 from fractal-analytics-platform/minors #110

Workflow file for this run

name: Tests
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
# https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/controlling-permissions-for-github_token#defining-access-for-the-github_token-permissions
permissions: {}
jobs:
examples:
runs-on: ubuntu-latest
services:
mailpit:
image: axllent/mailpit
ports:
- 1025:1025
- 8025:8025
env:
MP_SMTP_AUTH: "[email protected]:fakepassword"
MP_SMTP_AUTH_ALLOW_INSECURE: true
# Options to speed up the "Waiting for all services to be ready" step
options: >-
--health-interval 1s
--health-timeout 1s
--health-retries 20
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions/setup-python@v5
with:
python-version: "3.10"
- run: pip install -e .[dev]
- run: pytest -vv --log-cli-level info -s