forked from techtonik/python-patch
-
Notifications
You must be signed in to change notification settings - Fork 10
48 lines (43 loc) · 1.15 KB
/
conan.yml
File metadata and controls
48 lines (43 loc) · 1.15 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
name: Validate Conan client
on:
push:
paths-ignore:
- 'doc/**'
- '**/*.md'
- 'LICENSE'
- 'example/**'
- '.gitignore'
- 'tests/**'
workflow_dispatch:
pull_request:
paths-ignore:
- 'doc/**'
- '**/*.md'
- 'LICENSE'
- 'example/**'
- '.gitignore'
- 'tests/**'
jobs:
conan-client-validate:
name: "Validate Conan client"
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v5
- name: Setup python
uses: actions/setup-python@v6
with:
python-version: 3.12
architecture: x64
- name: Clone conan client
run: |
git clone --depth 1 https://github.com/conan-io/conan.git
cd conan/
pip install -r conans/requirements_dev.txt
pip install -r conans/requirements.txt
- name: Run Conan client tests involving patch-ng
run: |
pip install -e .
cd conan/
pytest -v test/functional/test_third_party_patch_flow.py
pytest -v test/functional/tools/test_files.py
pytest -v test/unittests/tools/files/test_patches.py