Daily test of the latest PyPI packages #460
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: Daily test of the latest PyPI packages | |
on: | |
schedule: | |
- cron: '14 3 * * *' | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
run-tests: | |
runs-on: ubuntu-latest | |
name: Run test suite (Python ${{ matrix.python-version }}) | |
strategy: | |
matrix: | |
python-version: [3.10.12, 3.11.4] | |
# https://github.com/marketplace/actions/setup-miniconda#use-a-default-shell | |
defaults: | |
run: | |
shell: bash -l {0} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Setup Python environment | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
# 17 June 2023: Figure out a way to move testing deps to the `pip install -e .` step below. | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install "llamabot[all]" | |
- name: Test CLI | |
run: | | |
llamabot --help |