File tree Expand file tree Collapse file tree 2 files changed +35
-1
lines changed
Expand file tree Collapse file tree 2 files changed +35
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Run Tox on PR
2+
3+ on :
4+ pull_request :
5+ branches :
6+ - main
7+ - ' **' # Run on all branches for PRs
8+
9+ jobs :
10+ tox-tests :
11+ runs-on : ubuntu-latest
12+
13+ strategy :
14+ matrix :
15+ python-version : [3.11] # Test against multiple Python versions
16+
17+ steps :
18+ # Checkout the code
19+ - name : Checkout code
20+ uses : actions/checkout@v3
21+
22+ # Setup Python
23+ - name : Set up Python ${{ matrix.python-version }}
24+ uses : actions/setup-python@v4
25+ with :
26+ python-version : ${{ matrix.python-version }}
27+
28+ # Install tox
29+ - name : Install tox
30+ run : pip install tox
31+
32+ # Run tox
33+ - name : Run tox
34+ run : tox
Original file line number Diff line number Diff line change @@ -20,4 +20,4 @@ commands =
2020[testenv:test]
2121deps =
2222 pytest ==7.4.2
23- commands = pytest
23+ commands = pytest
You can’t perform that action at this time.
0 commit comments