File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed
Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Test with uv and pytest
2+
3+ on :
4+ push :
5+ branches : [ "main" ]
6+ pull_request :
7+ branches : [ "main" ]
8+
9+ permissions :
10+ contents : read
11+
12+ jobs :
13+ build :
14+ runs-on : ubuntu-latest
15+ strategy :
16+ matrix :
17+ python-version : ["3.10", "3.11", "3.12", "3.13"]
18+ steps :
19+ - name : Checkout code
20+ uses : actions/checkout@v4
21+ - name : Install uv
22+ uses : astral-sh/setup-uv@v6
23+ with :
24+ python-version : ${{ matrix.python-version }}
25+ - name : Create virtual environment
26+ run : uv venv
27+ - name : Sync dependencies and install package
28+ run : uv sync --all-extras
29+ - name : Run tests
30+ env :
31+ PROTOCOLS_IO_CLIENT_ACCESS_TOKEN : ${{ secrets.PROTOCOLS_IO_CLIENT_ACCESS_TOKEN }}
32+ run : uv run pytest
You can’t perform that action at this time.
0 commit comments