Update release.yml

This commit is contained in:
Bert Blommers 2023-08-23 09:28:44 +00:00 committed by GitHub
parent c4a0b5b717
commit 3ebbf2ca5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,6 +28,7 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install wheel setuptools packaging twine build --upgrade
pip install -r requirements-dev.txt
- name: Verify Tag does not exist
run: |
! git rev-parse ${{ env.VERSION }} || { echo "Ensure that no tag exists for ${{ env.VERSION }}" ; exit 1; }
@ -44,7 +45,6 @@ jobs:
- name: Test Docker release
run: |
docker run -p 5000:5000 --name moto motoserver/moto &
pip install pytest
TEST_SERVER_MODE=true pytest -sv tests/test_core tests/test_s3
docker stop moto
- name: Publish to PyPI