forked from josephsenior/Grinta-Coding-Agent
-
Notifications
You must be signed in to change notification settings - Fork 0
63 lines (51 loc) · 1.69 KB
/
Copy pathsmoke-install.yml
File metadata and controls
63 lines (51 loc) · 1.69 KB
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
52
53
54
55
56
57
58
59
60
61
62
63
name: Smoke Install
on:
workflow_dispatch:
push:
branches: [main]
pull_request:
concurrency:
group: smoke-install-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
smoke-install:
name: Smoke install (${{ matrix.os }})
runs-on: ${{ matrix.os }}
timeout-minutes: 25
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ['3.12']
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
- name: Install uv
uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9
with:
enable-cache: true
- name: Set up Python
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97
with:
python-version: ${{ matrix.python-version }}
- name: Build wheel and source distribution
run: uv build
- name: Verify distribution contents
run: python .github/scripts/check_distribution_contents.py dist
- name: Run wheel smoke install (Unix)
if: runner.os != 'Windows'
run: |
chmod +x scripts/smoke/*.sh
WHEEL_DIR=./dist ./scripts/smoke/smoke_install.sh
- name: Run wheel smoke install (Windows)
if: runner.os == 'Windows'
shell: pwsh
run: |
$env:WHEEL_DIR = '.\dist'
.\scripts\smoke\smoke_install.ps1
- name: Run source onboarding smoke (Unix)
if: runner.os != 'Windows'
run: ./scripts/smoke/smoke_source_onboarding.sh
- name: Run source onboarding smoke (Windows)
if: runner.os == 'Windows'
shell: pwsh
run: .\scripts\smoke\smoke_source_onboarding.ps1