File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+ pull_request :
7+
8+ jobs :
9+ tests :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - name : Check out repository
13+ uses : actions/checkout@v4
14+ - name : Set up Python
15+ uses : actions/setup-python@v5
16+ with :
17+ python-version : ' 3.10'
18+ - name : Install Poetry
19+ uses : snok/install-poetry@v1
20+ with :
21+ version : 1.8.3
22+ virtualenvs-create : false
23+ - name : Install dependencies
24+ run : poetry install
25+ - name : Run tests
26+ run : pytest
Original file line number Diff line number Diff line change @@ -41,10 +41,13 @@ line-length = 120
4141[tool .isort ]
4242line_length = 120
4343profile = " black"
44+ [tool .pytest .ini_options ]
45+ pythonpath = [" ." ]
46+
4447[build-system ]
4548requires = [" poetry-core>=1.0.8" ]
4649build-backend = " poetry.core.masonry.api"
4750[project .urls ]
4851Homepage = " https://github.com/Bl3f/yato"
4952Repository = " https://github.com/Bl3f/yato"
50- Issues = " https://github.com/Bl3f/yato/issues"
53+ Issues = " https://github.com/Bl3f/yato/issues"
You can’t perform that action at this time.
0 commit comments