File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed
Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 3838 - name : pytest
3939 run : |
4040 pytest
41+
42+ validate-gql-3.5.0 :
43+ runs-on : " ubuntu-latest"
44+ strategy :
45+ matrix :
46+ python-version :
47+ - " 3.12"
48+ - " 3.13"
49+ env :
50+ SRC_FOLDER : tibber
51+ steps :
52+ - uses : actions/checkout@v6
53+ - name : Set up Python ${{ matrix.python-version }}
54+ uses : actions/setup-python@v6
55+ with :
56+ python-version : ${{ matrix.python-version }}
57+ cache : ' pip'
58+
59+ - name : Install dependency with gql==3.5.0
60+ run : |
61+ pip install -r requirements.txt
62+ pip install gql==3.5.0
63+ pip install mypy pre-commit pytest pytest-asyncio pytest-cov ruff
64+ - uses : actions/cache@v4
65+ with :
66+ path : ~/.cache/pre-commit
67+ key : pre-commit-3|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml') }}
68+ - name : Run pre-commit
69+ run : pre-commit run --all-files --show-diff-on-failure --color=always
70+ shell : bash
71+ - name : pytest
72+ run : |
73+ pytest
You can’t perform that action at this time.
0 commit comments