-
Notifications
You must be signed in to change notification settings - Fork 16
39 lines (32 loc) · 951 Bytes
/
_check_package.yaml
File metadata and controls
39 lines (32 loc) · 951 Bytes
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
name: Package check
on:
# Runs when manually triggered from the GitHub UI.
workflow_dispatch:
# Runs when invoked by another workflow.
workflow_call:
permissions:
contents: read
jobs:
package_check:
name: Package check
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Set up uv package manager
uses: astral-sh/setup-uv@v8.1.0
with:
python-version: "3.14"
- name: Build sdist and wheel
run: uv run poe build
- name: Verify built package
uses: apify/workflows/python-package-check@main
with:
package_name: apify_client
src_package_dir: src/apify_client
dist_dir: dist
python_version: "3.14"
smoke_code: |
from apify_client import ApifyClient, ApifyClientAsync
ApifyClient(token='x')
ApifyClientAsync(token='x')