File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,49 +3,19 @@ name: Upload Python Package to PyPI
33on :
44 release :
55 types : [published]
6- workflow_dispatch : # Allows manual trigger from GitHub Actions tab
6+ workflow_dispatch :
77
88permissions :
99 contents : read
10- id-token : write # Required for PyPI Trusted Publishing (OIDC)
1110
1211jobs :
13- test :
14- name : Test on Python ${{ matrix.python-version }}
15- runs-on : ubuntu-latest
16- strategy :
17- matrix :
18- python-version : ["3.10", "3.11", "3.12", "3.13"]
19-
20- steps :
21- - uses : actions/checkout@v4
22-
23- - name : Set up Python ${{ matrix.python-version }}
24- uses : actions/setup-python@v5
25- with :
26- python-version : ${{ matrix.python-version }}
27-
28- - name : Install dependencies
29- run : pip install -e ".[dev]"
30-
31- - name : Run unit tests
32- run : pytest tests/unit/ -v --tb=short
33-
34- - name : Run Robot Framework acceptance tests
35- run : |
36- mkdir -p results
37- robot --outputdir results tests/acceptance/
38-
3912 publish :
4013 name : Build & Publish to PyPI
41- needs : test
4214 runs-on : ubuntu-latest
43- environment :
44- name : pypi
45- url : https://pypi.org/p/robotframework-mimesislibrary
4615
4716 steps :
48- - uses : actions/checkout@v4
17+ - name : Checkout repository
18+ uses : actions/checkout@v4
4919
5020 - name : Set up Python
5121 uses : actions/setup-python@v5
You can’t perform that action at this time.
0 commit comments