Skip to content

Commit

Permalink
Github Action run on multiple architectures.
Browse files Browse the repository at this point in the history
  • Loading branch information
elgeeko1 committed Sep 18, 2024
1 parent 3da731a commit a900472
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,13 @@ on:
- ci-test

jobs:
e2e-test:
build:
runs-on: ubuntu-24.04

strategy:
matrix:
platform:
- amd64
- arm64
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -34,9 +38,13 @@ jobs:
working-directory: InfluxPublisher/py
run: lfc src/InfluxPublisher.lf

- name: Start Test Publisher environment
- name: Build docker images
working-directory: InfluxPublisher
run: docker compose build

- name: Start docker containers
working-directory: InfluxPublisher
run: docker compose up -d --build
run: docker compose up -d

- name: Run E2E Tests
working-directory: InfluxPublisher/tests
Expand Down

0 comments on commit a900472

Please sign in to comment.