[DRAFT] Adds new CLI commands for run
and deploy
#53
Workflow file for this run
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: Bee-Hive Tests | |
on: | |
push: | |
branches: [ 'main' ] | |
pull_request: | |
branches: [ 'main' ] | |
jobs: | |
run-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
- name: Setup poetry | |
run: | | |
pipx ensurepath | |
echo "$HOME/.local/bin" >> "$GITHUB_PATH" | |
pipx install poetry | |
poetry self add poetry-plugin-shell | |
- name: Install dependencies | |
run: | | |
cd bee-hive | |
poetry install | |
- name: Run unit tests | |
run: | | |
cd bee-hive | |
poetry run pytest |