Skip to content

Adding spruce to alerts #730

Adding spruce to alerts

Adding spruce to alerts #730

Workflow file for this run

name: Tests
on:
push:
pull_request:
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Check out the repository
uses: actions/checkout@v4
- name: Cache uv
uses: actions/cache@v4
with:
path: ~/.cache/uv
key: uv-${{ runner.os }}-${{ hashFiles('uv.lock') }}
- name: Start World Broker
uses: namoshek/rabbitmq-github-action@v1
with:
version: "3.9.13"
ports: "1885:1885 4369:4369 5672:5672 15672:15672 15674:15674 25672:25672"
config: ${{ github.workspace }}/.ci/rabbitmq.conf
container-name: "rabbit"
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install uv
run: |
curl -LsSf https://astral.sh/uv/install.sh | sh
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- name: Create virtual environment
run: |
make venv
- name: Sync dependencies and install project
run: |
make dev
- name: Run tests
run: |
make test