Document ohttp relay best practice #1282
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build and Test Python | |
| on: | |
| workflow_run: | |
| workflows: ["Flake maintenance"] | |
| types: [requested] | |
| branches: | |
| - "update_flake_lock_action" | |
| pull_request: | |
| paths: | |
| - payjoin-ffi/** | |
| jobs: | |
| build-python-and-test: | |
| name: "Build and test python" | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, macos-latest] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: "Use cache" | |
| uses: Swatinem/rust-cache@v2 | |
| - name: "Install nix" | |
| uses: DeterminateSystems/determinate-nix-action@main | |
| - name: "Use nix cache" | |
| uses: DeterminateSystems/magic-nix-cache-action@main | |
| - name: "Build and test" | |
| run: nix develop .#python --command bash ./payjoin-ffi/python/contrib/test.sh |