Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#174: enable releasing tags #180

Merged
merged 5 commits into from
May 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/publish_on_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
with:
miniconda-version: "latest"
auto-update-conda: true
python-version: $PYTHON_VERSION
python-version: ${{ env.PYTHON_VERSION }}
- name: Conda info
shell: bash -le {0}
run: conda info
Expand All @@ -32,7 +32,7 @@ jobs:
- name: Prepare distribution
shell: bash -le {0}
run: |
conda create -n alphadia_build python=$PYTHON_VERSION -y
conda create -n alphadia_build python=${{ env.PYTHON_VERSION }} -y
conda activate alphadia_build
python -m pip install --upgrade pip
pip install build twine
Expand All @@ -50,15 +50,15 @@ jobs:
- name: Test Test-PyPI loose installation
shell: bash -le {0}
run: |
conda create -n pip_loose_test python=$PYTHON_VERSION -y
conda create -n pip_loose_test python=${{ env.PYTHON_VERSION }} -y
conda activate pip_loose_test
pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple "alphadia"
alphadia -v
conda deactivate
- name: Test Test-PyPI stable installation
shell: bash -le {0}
run: |
conda create -n pip_stable_test python=$PYTHON_VERSION -y
conda create -n pip_stable_test python=${{ env.PYTHON_VERSION }} -y
conda activate pip_stable_test
pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple "alphadia[stable]"
alphadia -v
Expand All @@ -81,7 +81,7 @@ jobs:
with:
miniconda-version: "latest"
auto-update-conda: true
python-version: $PYTHON_VERSION
python-version: ${{ env.PYTHON_VERSION }}
- name: Conda info
shell: bash -le {0}
run: conda info
Expand All @@ -92,15 +92,15 @@ jobs:
- name: Test PyPI stable installation
shell: bash -le {0}
run: |
conda create -n pip_stable python=$PYTHON_VERSION -y
conda create -n pip_stable python=${{ env.PYTHON_VERSION }} -y
conda activate pip_stable
pip install "alphadia[stable]"
alphadia -v
conda deactivate
- name: Test PyPI loose installation
shell: bash -le {0}
run: |
conda create -n pip_loose python=$PYTHON_VERSION -y
conda create -n pip_loose python=${{ env.PYTHON_VERSION }} -y
conda activate pip_loose
pip install alphadia
alphadia -v
Expand Down
Loading