File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Publish Python distribution to PyPI
22on : push
33jobs :
4- # lint-and-test:
5- # if: github.ref_type == 'tag'
6- # name: Run linter and tests
7- # uses: ./.github/workflows/Lint-and-test.yml
4+ lint-and-test :
5+ if : github.ref_type == 'tag'
6+ name : Run linter and tests
7+ uses : ./.github/workflows/Lint-and-test.yml
88 build :
9- # needs: lint-and-test
9+ needs : lint-and-test
1010 if : github.ref_type == 'tag'
1111 name : build distribution
1212 runs-on : ubuntu-latest
3434 name : >-
3535 Publish Python distribution to PyPI
3636 if : github.ref_type == 'tag'
37- needs : [build]
37+ needs : [lint-and-test, build]
3838 runs-on : ubuntu-latest
3939 environment :
4040 name : release
5353 name : >-
5454 Sign the Python distribution with Sigstore
5555 and upload them to GitHub Release
56- needs : [build, publish-to-pypi]
56+ needs : [lint-and-test, build, publish-to-pypi]
5757 runs-on : ubuntu-latest
5858 permissions :
5959 contents : write # IMPORTANT: mandatory for making GitHub Releases
Original file line number Diff line number Diff line change 66# -- Project information -----------------------------------------------------
77# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
88
9- import os
10- import sys
11-
129from fastcs_secop .version import version
1310
14- sys .path .insert (0 , os .path .abspath ("../src" ))
15-
1611project = "fastcs-secop"
1712copyright = ""
1813author = "ISIS Experiment Controls"
2318
2419nitpicky = True
2520nitpick_ignore_regex = [
26- ("py:class" , r"^collections\.abc\.Collection\[" ),
2721 ("py:class" , r"^.*\.T$" ),
2822 ("py:obj" , r"^.*\.T$" ),
2923 ("py:class" , r"^.*\.T.*_co$" ),
Original file line number Diff line number Diff line change @@ -27,7 +27,8 @@ classifiers = [
2727]
2828
2929dependencies = [
30- " fastcs" ,
30+ # Remove pin when new release made
31+ " fastcs @ git+https://github.com/DiamondLightSource/FastCS" ,
3132 " orjson" ,
3233]
3334
You can’t perform that action at this time.
0 commit comments