File tree Expand file tree Collapse file tree 3 files changed +5
-158
lines changed
Expand file tree Collapse file tree 3 files changed +5
-158
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 66 branches :
77 - main
88 - develop
9- - ' feature/*'
10- - ' hotfix/*'
11- - ' release/*'
12- - ' fixes/*'
9+ - " feature/*"
10+ - " hotfix/*"
11+ - " release/*"
12+ - " fixes/*"
1313 push :
1414 branches :
1515 - main
2121 runs-on : ubuntu-latest
2222 strategy :
2323 matrix :
24- python-version : [ "3.12" ]
24+ python-version : ["3.12"]
2525 timeout-minutes : 15
2626 steps :
2727 - name : Checkout
3434
3535 - name : Run Pre-commit
3636 uses : pre-commit/action@v3.0.0
37-
38- ci-tests :
39- name : Pytest CI
40- runs-on : ubuntu-latest
41- needs : pre-commit
42- strategy :
43- matrix :
44- python-version : [ "3.12" ]
45- timeout-minutes : 15
46-
47- steps :
48- - name : Checkout
49- uses : actions/checkout@v3
50-
51- - uses : actions/setup-python@v4
52- id : setup-python
53- with :
54- python-version : ${{ matrix.python-version }}
55-
56- # The key configuration value here is `virtualenvs-in-project: true`: this creates the
57- # venv as a `.venv` in your testing directory, which allows the next step to easily
58- # cache it.
59- - uses : snok/install-poetry@v1
60- with :
61- virtualenvs-create : true
62- virtualenvs-in-project : true
63- installer-parallel : true
64-
65- # Cache your dependencies (i.e. all the stuff in your `pyproject.toml`).
66- - name : Load cached venv
67- id : cached-poetry-dependencies
68- uses : actions/cache@v3
69- with :
70- path : .venv
71- key : venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
72-
73- # Install dependencies if cache does not exist
74- - name : Install dependencies
75- if : steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
76- run : poetry install
77-
78- - name : Run the full test suite
79- run : poetry run python -m pytest
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments