Skip to content

Commit 4ac309e

Browse files
committed
debugging conda workflow
1 parent 04baa4d commit 4ac309e

File tree

3 files changed

+23
-8
lines changed

3 files changed

+23
-8
lines changed

.github/workflows/create-release.yml

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -164,24 +164,34 @@ jobs:
164164
if: ${{ startsWith(github.ref_name, 'v') || needs.version_check.outputs.PCAPKIT_TAG_EXISTS == 'false' }}
165165
strategy:
166166
matrix:
167-
python-version: [ "3.8", "3.9", "3.10", "3.11" ] # ignore 3.6/7 for now
167+
python-version:
168+
- "3.7"
169+
- "3.8"
170+
- "3.9"
171+
- "3.10"
172+
- "3.11"
168173
steps:
169174
- uses: actions/checkout@v3
170175
with:
171176
fetch-depth: 0
172177

173-
- name: Get Build Version
174-
id: get_version
178+
- name: Create Tag
179+
uses: rickstaa/action-create-tag@v1
180+
with:
181+
tag: "conda-${{ needs.version_check.outputs.PCAPKIT_VERSION }}+0"
182+
183+
- name: Setup Conda Distribution
175184
run: |
176-
set -x
185+
PCAPKIT_DEVMODE=1
186+
PCAPKIT_VERBOSE=1
177187
178-
echo "PCAPKIT_BUILD=$(cat conda/build)" >> $GITHUB_OUTPUT
188+
python util/conda-dist.py
179189
180190
- name: Conda environment creation and activation
181191
uses: conda-incubator/setup-miniconda@v2
182192
env:
183193
PCAPKIT_VERSION: ${{ needs.version_check.outputs.PCAPKIT_VERSION }}
184-
PCAPKIT_BUILD: ${{ steps.get_version.outputs.PCAPKIT_BUILD }}
194+
PCAPKIT_BUILD: "0"
185195
with:
186196
python-version: ${{ matrix.python-version }}
187197
environment-file: conda/conda-build.yaml # Path to the build conda environment
@@ -193,7 +203,7 @@ jobs:
193203
uses: uibcdf/action-build-and-upload-conda-packages@v1.2.0
194204
env:
195205
PCAPKIT_VERSION: ${{ needs.version_check.outputs.PCAPKIT_VERSION }}
196-
PCAPKIT_BUILD: ${{ steps.get_version.outputs.PCAPKIT_BUILD }}
206+
PCAPKIT_BUILD: "0"
197207
with:
198208
meta_yaml_dir: conda/pypcapkit
199209
python-version: ${{ matrix.python-version }} # Values previously defined in `matrix`

.github/workflows/cron-conda.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,17 @@ jobs:
2828

2929
- name: Install and Setup
3030
run: |
31+
set -x
32+
3133
python -m pip install -U pip setuptools wheel
3234
python -m pip install -e .[all]
3335
python -m pip install pathlib2 typing_extensions
3436
3537
- name: Setup Conda Distribution
3638
run: |
39+
PCAPKIT_DEVMODE=1
40+
PCAPKIT_VERBOSE=1
41+
3742
python util/conda-dist.py
3843
3944
- name: Verify Changed files

.pyup.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ schedule: every week
55

66
requirements:
77
- docs/requirements.txt
8-
- conda/requirements.txt
8+
- conda/requirements.txt:
99
update: False

0 commit comments

Comments
 (0)