Release 🍓 0.250.1 #2202
This file contains 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: 🛰️ Federation compatibility tests | |
concurrency: | |
group: ${{ github.head_ref || github.run_id }}-federation | |
cancel-in-progress: true | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
paths: | |
- "strawberry/federation/**" | |
- "strawberry/printer/**" | |
- "pyproject.toml" | |
- "poetry.lock" | |
- ".github/workflows/federation-compatibility.yml" | |
jobs: | |
federation-tests: | |
name: Federation tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- run: pipx install poetry | |
- uses: actions/setup-python@v4 | |
id: setup-python | |
with: | |
python-version: "3.12" | |
cache: "poetry" | |
- run: poetry env use python3.12 | |
- run: poetry install | |
- name: export schema | |
run: poetry run strawberry export-schema schema:schema > schema.graphql | |
working-directory: federation-compatibility | |
- uses: apollographql/federation-subgraph-compatibility@v2 | |
with: | |
compose: 'federation-compatibility/docker-compose.yml' | |
schema: 'federation-compatibility/schema.graphql' | |
port: 4001 | |
token: ${{ secrets.BOT_TOKEN }} | |
failOnWarning: false | |
failOnRequired: true |