test(integration): add integration tests with a real server #28
Workflow file for this run
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: Code quality | |
on: | |
pull_request: | |
jobs: | |
code-quality: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/setup-python-env | |
- name: ruff | |
run: "hatch run dev:ruff format --check" | |
- name: basedpyright | |
run: "hatch run dev:basedpyright" | |
- name: fetch server schema | |
run: "hatch run dev:fetch-schema" | |
- name: tests | |
run: "hatch run test:run" | |
env: | |
SL_HOST: ${{ secrets.TEST_HOST }} | |
SL_ENV_ID: ${{ secrets.TEST_ENV_ID }} | |
SL_TOKEN: ${{ secrets.TEST_TOKEN }} | |