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 : Run Tests
1+ # Generated initially using github-actions-wizard (https://github.com/cmdr2/github-actions-wizard)
22
3+ name : Run Tests
4+ run-name : Run Tests
35on :
46 push :
5- branches : main
7+ branches :
8+ - main
69 pull_request :
7- branches : main
8- # Manual trigger
10+ branches :
11+ - main
912 workflow_dispatch :
10-
1113jobs :
1214 test :
1315 runs-on : ubuntu-latest
1416 strategy :
1517 matrix :
1618 python-version : ["3.8", "3.11"]
1719 fail-fast : false
18-
1920 steps :
20- - uses : actions/checkout@v4
21-
22- - name : Set up Python ${{ matrix.python-version }}
23- uses : actions/setup-python@v4
24- with :
25- python-version : ${{ matrix.python-version }}
21+ - name : Checkout
22+ uses : actions/checkout@v4
23+ - name : Set up Python ${{ matrix.python-version }}
24+ uses : actions/setup-python@v4
25+ with :
26+ python-version : ${{ matrix.python-version }}
2627
27- - name : Install dependencies
28- run : |
29- python -m pip install --upgrade pip
30- pip install pytest
28+ - name : Install dependencies
29+ run : |
30+ python -m pip install --upgrade pip
31+ pip install pytest
3132
32- - name : Run tests
33- run : |
34- python -m pytest
33+ - name : Run tests
34+ run : |
35+ python -m pytest
36+ permissions :
37+ contents : read
You can’t perform that action at this time.
0 commit comments