-
Notifications
You must be signed in to change notification settings - Fork 0
51 lines (46 loc) · 1.22 KB
/
pypi_env_no_wheels_test_red.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: "RED: Test PyPI missing Required Wheel(s)"
on:
workflow_dispatch:
push:
branches:
- "test"
tags:
- "all"
- "pypi"
- "pypi-r"
- "pypi-no-wheels-r"
jobs:
build_python:
runs-on: ubuntu-latest
name: Build Python
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Install Tooling
run: |
pip install --upgrade pip
pip install tox==3.28
# Build only Source Distro
- name: Build Python in './dist/' folder
run: tox -e build -- --sdist
# Artifacts Upload
- name: Archive Python
uses: actions/upload-artifact@v3
with:
name: python_build_artifacts
path: dist # Local Path to the archive(s) to upload
call_pypi:
name: 'EXPECT FAIL: no wheels to upload'
needs: build_python
uses: boromir674/automated-workflows/.github/workflows/pypi_env.yml@test
with:
distro_name: cicd_test_workflow
distro_version: "0.0.1"
should_trigger: true
pypi_env: "PYPI_TEST"
require_wheel: true
allow_existing: false
secrets:
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}