Skip to content

Deployer example for licenses #235

Deployer example for licenses

Deployer example for licenses #235

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 }}
ART_URL: "https://conanv2beta.jfrog.io/artifactory"
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.6
- name: Install dependencies
run: |
pip install -U pip
pip install pytest
- name: Install Conan latest
run: |
pip install conan
- name: Run tests - Conan latest / Python 3.6
run: |
pytest -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.6
run: |
pytest -v tests