Generate: Push the generated files to a repo #23
This file contains 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: "Local Remote Testing" | |
on: [push, pull_request] | |
jobs: | |
test-remote: | |
name: "Tests" | |
runs-on: ubuntu-22.04 | |
env: | |
CONAN_LOGGING_LEVEL: 10 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
- run: | | |
pip install -r requirements.txt | |
pip install -r requirements_dev.txt | |
- name: Start Local Server | |
run: | | |
fastapi dev main.py & disown | |
- name: Configure Conan | |
run: | | |
conan --version | |
conan user | |
conan config set general.revisions_enabled=1 | |
conan remote remove conancenter | |
conan remote add bincrafters http://127.0.0.1:8000/r/github+bincrafters_remote+testing_v-1000+bincrafters/ | |
conan remote list | |
- name: Tests | |
run: | | |
conan download --recipe openssl/1.1.1w@_/_#8bcd54a23717978bd94ab320e377ea93 |