Skip to content

Add graph level serialization (#750) #3091

Add graph level serialization (#750)

Add graph level serialization (#750) #3091

Workflow file for this run

name: ci
on: [push, pull_request]
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10', '3.12']
aiida-core-version: ['2.7']
services:
rabbitmq:
image: rabbitmq:latest
ports:
- 5672:5672
steps:
- uses: actions/checkout@v5
- name: Set Up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Set up uv
uses: astral-sh/setup-uv@v6
with:
version: 0.8.17
python-version: ${{ matrix.python-version }}
activate-environment: true
- name: Install dependencies from uv lock
run: |
uv sync --locked --extra pre-commit --extra tests
- name: Override aiida-core version
run: uv pip install aiida-core==${{ matrix.aiida-core-version }}
- name: Install playwright browsers
run: playwright install
- name: Install system dependencies
run: sudo apt update && sudo apt install --no-install-recommends graphviz
- name: Create AiiDA profile
run: verdi presto --profile-name ci-tests
- name: Run pytest
env:
AIIDA_WARN_v3: 1
run: pytest -n auto -v --cov --durations=0
- name: Upload coverage reports to Codecov
if: matrix.python-version == '3.9' && github.repository == 'aiidateam/aiida-workgraph'
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
name: aiida-workgraph-py3.9
files: ./coverage.xml
fail_ci_if_error: false