@@ -30,53 +30,26 @@ jobs:
3030 with :
3131 python-version : " 3.11"
3232
33- - name : Install uv
34- run : |
35- curl -LsSf https://astral.sh/uv/install.sh | sh
36- echo "$HOME/.cargo/bin" >> $GITHUB_PATH
37-
3833 - name : Validate version format
3934 run : |
4035 if [[ ! "${{ github.event.inputs.version }}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
4136 echo "Error: Version must be in format 1.2.3"
4237 exit 1
4338 fi
4439
45- - name : Create tags and test
40+ - name : Create tags
4641 run : |
4742 git config --local user.email "action@github.com"
4843 git config --local user.name "GitHub Action"
4944
5045 if [[ "${{ github.event.inputs.package }}" == "core" ]]; then
5146 echo "Creating core tag: core-v${{ github.event.inputs.version }}"
5247 git tag core-v${{ github.event.inputs.version }}
53-
54- # Test core package
55- cd libs/core
56- uv pip install --system -e ".[dev]"
57- pytest tests/ --verbose
58- python -c "
59- import sim_sci_test_monorepo.core
60- print('Core version:', sim_sci_test_monorepo.core.__version__)
61- assert sim_sci_test_monorepo.core.__version__ == '${{ github.event.inputs.version }}'
62- "
63- cd ../..
6448 fi
6549
6650 if [[ "${{ github.event.inputs.package }}" == "public_health" ]]; then
6751 echo "Creating public health tag: public-health-v${{ github.event.inputs.version }}"
6852 git tag public-health-v${{ github.event.inputs.version }}
69-
70- # Test public health package
71- cd libs/public_health
72- uv pip install --system -e ".[dev]"
73- pytest tests/ --verbose
74- python -c "
75- import sim_sci_test_monorepo.public_health
76- print('Public Health version:', sim_sci_test_monorepo.public_health.__version__)
77- assert sim_sci_test_monorepo.public_health.__version__ == '${{ github.event.inputs.version }}'
78- "
79- cd ../..
8053 fi
8154
8255 - name : Push tags
0 commit comments