We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 34aebe8 commit 0b0216aCopy full SHA for 0b0216a
.github/workflows/tox.yml
@@ -0,0 +1,34 @@
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.9, 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
0 commit comments