Skip to content

Add dart github workflow#876

Merged
spacebear21 merged 4 commits intopayjoin:masterfrom
spacebear21:dart-gh-workflow
Aug 20, 2025
Merged

Add dart github workflow#876
spacebear21 merged 4 commits intopayjoin:masterfrom
spacebear21:dart-gh-workflow

Conversation

@spacebear21
Copy link
Collaborator

@spacebear21 spacebear21 commented Jul 14, 2025

This adds Dart tests to CI and updates the READMEs for payoin-ffi. It also fixes inconsistencies in the python CI workflow, and addresses #974 by skipping integration tests on macOS as a workaround until #915 is completed.

@spacebear21 spacebear21 mentioned this pull request Jul 14, 2025
@coveralls
Copy link
Collaborator

coveralls commented Jul 14, 2025

Pull Request Test Coverage Report for Build 17085193124

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 86.514%

Totals Coverage Status
Change from base Build 17080218515: 0.0%
Covered Lines: 7852
Relevant Lines: 9076

💛 - Coveralls

spacebear21 added a commit that referenced this pull request Jul 15, 2025
This adds support for producing dart bindings with uniffi via
https://github.com/Uniffi-Dart/uniffi-dart.git (pinned commit for now
until official releases exist). The unit and integration tests in dart
are passing.

Note that the integration test is currently flaky due to issues with
`testcontainers`, so the dart Github workflow is not introduced in this
PR to keep CI reliably passing. #876 adds the workflow separately but
should wait until the `testcontainers` issue is resolved.
@spacebear21
Copy link
Collaborator Author

Unblocked by #970

@spacebear21 spacebear21 force-pushed the dart-gh-workflow branch 5 times, most recently from 08094fb to 3c1117a Compare August 18, 2025 21:30
on:
pull_request:
paths:
- payjoin-ffi/**
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know we reverted this back to expand and look at all changes within the ffi repo as laid out in #722 but would it maybe be worth exploring some more targeted paths like? And then do the same for the python workflows so there aren't uneeded tests

Suggested change
- payjoin-ffi/**
- payjoin-ffi/dart/**
- payjoin-ffi/src/**

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or also exclusionary to cover things like build.rs changing

Suggested change
- payjoin-ffi/**
- payjoin-ffi/**
- !payjoin-ffi/python/**

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the simplicity of "any payjoin-ffi change triggers CI for all FFI languages" is worth keeping to prevent issues slipping by unnoticed.

@spacebear21 spacebear21 force-pushed the dart-gh-workflow branch 2 times, most recently from f7966b9 to 4ef93d8 Compare August 19, 2025 18:17
@spacebear21 spacebear21 mentioned this pull request Aug 19, 2025
@spacebear21 spacebear21 force-pushed the dart-gh-workflow branch 3 times, most recently from ecc60bb to 86b1c0d Compare August 19, 2025 23:13
@spacebear21 spacebear21 marked this pull request as ready for review August 20, 2025 01:05
@spacebear21 spacebear21 requested a review from benalleng August 20, 2025 01:05
Copy link
Collaborator

@benalleng benalleng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ack finally a passing CI!

@spacebear21 spacebear21 merged commit 2a6dbba into payjoin:master Aug 20, 2025
18 checks passed
@spacebear21 spacebear21 mentioned this pull request Aug 21, 2025
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants