File tree Expand file tree Collapse file tree 1 file changed +50
-0
lines changed
Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ name : Copilot Setup Steps
3+
4+ on :
5+ workflow_dispatch : {}
6+
7+ jobs :
8+ copilot-setup-steps :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - name : Checkout repository
12+ uses : actions/checkout@v5
13+
14+ - name : Set up Python
15+ uses : actions/setup-python@v5
16+ with :
17+ python-version : " 3.11"
18+
19+ - name : Set up uv
20+ uses : astral-sh/setup-uv@v6
21+ with :
22+ enable-cache : true
23+ cache-dependency-glob : |
24+ **/requirements*.txt
25+ **/pyproject.toml
26+
27+ - name : Create virtual environment and install dependencies
28+ run : |
29+ uv venv .venv
30+ source .venv/bin/activate
31+ uv pip install .[test] coverage
32+
33+ - name : Install development tools
34+ run : |
35+ uv tool install pre-commit
36+ uv tool install pyright
37+
38+ - name : Set up pre-commit hooks
39+ run : |
40+ source .venv/bin/activate
41+ pre-commit install --install-hooks
42+
43+ - name : Verify installation
44+ run : |
45+ source .venv/bin/activate
46+ python --version
47+ uv --version
48+ pre-commit --version
49+ pyright --version
50+ python -c "import dpdispatcher; print('DPDispatcher installed successfully')"
You can’t perform that action at this time.
0 commit comments