File tree Expand file tree Collapse file tree 2 files changed +51
-0
lines changed
Expand file tree Collapse file tree 2 files changed +51
-0
lines changed Original file line number Diff line number Diff line change 7878 with :
7979 env_vars : OS
8080 name : codecov-pytest-order
81+
82+ deploy :
83+ if : github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
84+
85+ runs-on : ubuntu-latest
86+
87+ needs : [linter, test]
88+
89+ steps :
90+ - uses : actions/checkout@v2
91+ with :
92+ path : main
93+ - name : Set up Python
94+ uses : actions/setup-python@v2
95+ with :
96+ python-version : " 3.8"
97+ - name : Install wheel and pytest
98+ run : |
99+ python -m pip install --upgrade pip
100+ pip install wheel
101+ pip install pytest
102+ - name : Build package
103+ run : |
104+ cd main
105+ python setup.py sdist bdist_wheel
106+ - name : Publish package to PyPI
107+ uses : pypa/gh-action-pypi-publish@master
108+ with :
109+ packages_dir : main/dist/
110+ user : __token__
111+ password : ${{ secrets.PYPI_API_TOKEN_PYTEST_ORDER }}
112+ - name : Create release docs
113+ run : |
114+ pip install sphinx
115+ cd main/docs
116+ make html
117+ - name : Checkout gh-pages
118+ uses : actions/checkout@v2
119+ with :
120+ ref : gh-pages
121+ path : doc
122+ - name : Copy and commit changes
123+ run : |
124+ cp -r main/docs/build/html/* doc/stable
125+ cd doc
126+ git config user.name "CI Build"
127+ git config user.email "pytest_order@gmail.com"
128+ git add stable/*
129+ git commit -a -m "Release documentation"
130+ git push
Original file line number Diff line number Diff line change 1515
1616### Infrastructure
1717- added performance tests to prevent performance degradation
18+ - added automated deploy workflow step triggered on creating a tag
1819
1920## [ Version 0.9.5] ( https://pypi.org/project/pytest-order/0.9.5/ ) (2021-02-16)
2021Introduces hierarchical ordering option and fixes ordering of session-scoped
You can’t perform that action at this time.
0 commit comments