-
Notifications
You must be signed in to change notification settings - Fork 27
50 lines (48 loc) · 1.51 KB
/
test_conan_extensions.yml
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
49
50
on: [pull_request, workflow_dispatch]
jobs:
conan_linux:
runs-on: ubuntu-20.04
env:
CONAN_LOGIN_USERNAME_EXTENSIONS_PROD: ${{ secrets.CONAN_USER }}
CONAN_PASSWORD_EXTENSIONS_PROD: ${{ secrets.CONAN_PASSWORD }}
CONAN_LOGIN_USERNAME_EXTENSIONS_STG: ${{ secrets.CONAN_USER }}
CONAN_PASSWORD_EXTENSIONS_STG: ${{ secrets.CONAN_PASSWORD }}
ARTIFACTORY_TOKEN: ${{ secrets.ARTIFACTORY_TOKEN }}
ART_URL: ${{ secrets.ART_URL }}
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.8
- name: Install dependencies
run: |
pip install -U pip
pip install pytest "cyclonedx-python-lib>=5.0.0,<6"
- name: Install Conan latest
run: |
pip install conan
- name: Run tests - Conan latest / Python 3.8
run: |
pytest -n 0 -v tests
- name: Install Conan develop
run: |
pip install git+https://github.com/conan-io/conan.git@release/2.0
- name: Run tests - Conan develop / Python 3.8
run: |
pytest -v tests
conan_windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.8
- name: Install dependencies and Conan latest
run: |
pip install -U pip
pip install pytest conan
- name: Run Windows-specific tests - Conan latest / Python 3.8
run: |
pytest -n 0 -v -m win32 tests