Add workflow to validate patch-ng with Conan #1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 | |
| - name: Run Conan client tests involving patch-ng | |
| run: | | |
| cd conan/ | |
| pip install -r conans/requirements_dev.txt | |
| 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 | |