service_catalog: add ifconfig.me + api.ipify.org as READ_ONLY (IP-ech… #1
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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| test: | |
| name: pytest (relay + client) | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ["3.12"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| cache: pip | |
| - name: Install relay (editable, with dev extras) | |
| working-directory: prototypes/relay | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -e '.[dev]' | |
| - name: Install client (editable) | |
| working-directory: prototypes/client | |
| run: pip install -e . | |
| - name: Run relay tests | |
| working-directory: prototypes/relay | |
| run: pytest -q | |
| - name: Run client tests (if present) | |
| working-directory: prototypes/client | |
| run: | | |
| if [ -d tests ]; then | |
| pytest -q | |
| else | |
| echo "no client tests yet, skipping" | |
| fi |