forked from UiPath/uipath-python
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (29 loc) · 904 Bytes
/
test-cd-scripts.yml
File metadata and controls
35 lines (29 loc) · 904 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
name: Test CD Scripts
on:
pull_request:
branches:
- main
paths:
- '.github/scripts/detect_publishable_packages.py'
- '.github/scripts/test_detect_publishable_packages.py'
- '.github/scripts/check_version_uniqueness.py'
- '.github/scripts/test_check_version_uniqueness.py'
- '.github/workflows/cd.yml'
- '.github/workflows/check-version-availability.yml'
permissions:
contents: read
jobs:
test-cd-scripts:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install pytest
run: pip install pytest
- name: Run tests
working-directory: .github/scripts
run: python -m pytest test_detect_publishable_packages.py test_check_version_uniqueness.py -v