Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexPatrie committed Nov 6, 2024
1 parent b8c0b97 commit 4bfe1cd
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ name: Continuous Integration

# TODO: add main here
on:
workflow_dispatch:
push:
branches:
- "main"

jobs:
test-microservices:
Expand All @@ -21,10 +23,8 @@ jobs:
pip install --upgrade pip
pip install poetry
poetry env use 3.10
poetry install --only=github --no-root
poetry run pip install -e .
poetry pytest
poetry install --only=github
poetry run pytest
build-base-image:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -94,11 +94,6 @@ jobs:
- name: Log in to GHCR
run: echo "${{ secrets.REPO_ADMIN_GHCR_TOKEN }}" | docker login ghcr.io -u "${{ secrets.REPO_ADMIN_GH_USERNAME }}" --password-stdin

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r assets/pipeline/config/requirements.github.txt
- name: Install Docker Compose
run: |
sudo curl -L "https://github.com/docker/compose/releases/download/$(curl -s https://api.github.com/repos/docker/compose/releases/latest | grep 'tag_name' | cut -d\" -f4)/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
Expand Down

0 comments on commit 4bfe1cd

Please sign in to comment.