-
Notifications
You must be signed in to change notification settings - Fork 2
47 lines (39 loc) · 1.1 KB
/
on_pull_request.yaml
File metadata and controls
47 lines (39 loc) · 1.1 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
name: CI (PR)
on:
# Runs whenever a pull request is opened or updated.
pull_request:
jobs:
pr_title_check:
name: PR title check
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v6.1.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
code_checks:
name: Code checks
uses: ./.github/workflows/_check_code.yaml
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_shared
src_package_dir: src/apify_shared
dist_dir: dist
python_version: "3.14"
smoke_code: |
from apify_shared.consts import WebhookEventType
tests:
name: Tests
uses: ./.github/workflows/_tests.yaml