File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 push :
55 tags :
66 - " v*"
7+ workflow_dispatch :
78
89jobs :
9- test :
10- name : Release
10+ release :
1111 runs-on : ubuntu-latest
12+ permissions :
13+ id-token : write
1214 steps :
13- - name : Checkout repository
14- uses : actions/checkout@v4
15- with :
16- repository : interscript/interscript
17- - name : Run bootstrap script
18- run : ruby bootstrap.rb
19- - name : Use Ruby
20- uses : ruby/setup-ruby@v1
21- with :
22- ruby-version : " 3.2"
23- - name : Use Python
24- uses : actions/setup-python@v5
15+ - uses : actions/checkout@v4
16+ - uses : actions/setup-python@v5
2517 with :
2618 python-version : " 3.12"
27- - name : Compile maps
28- run : cd python; pip install build regex pytest twine; bash ./build.sh; pip install .
29- - name : PyTest
30- run : cd python; pytest
31- - name : Build package
32- run : cd python; python -m build
33- - name : Publish distribution to PyPI
34- uses : pypa/gh-action-pypi-publish@release/v1
35- with :
36- packages-dir : python/dist/
37- permissions :
38- id-token : write
19+ - run : pip install build pytest
20+ - run : pip install -e .
21+ - run : pytest tests/ -v
22+ - run : python -m build
23+ - uses : pypa/gh-action-pypi-publish@release/v1
You can’t perform that action at this time.
0 commit comments