Skip to content

Commit

Permalink
Add tests for BE_VERSION
Browse files Browse the repository at this point in the history
  • Loading branch information
minottic committed Apr 9, 2024
1 parent 7a71d3a commit cbec56d
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/docker_compose_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,21 @@ on: # yamllint disable-line rule:truthy
branches:
- master
jobs:
test:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install 'yamllint'
run: sudo apt-get install -y yamllint
- name: Lint YAML files
run: yamllint -c .github/yamllint_config.yaml .
test:
runs-on: ubuntu-latest
strategy:
matrix:
BE_VERSION: [backend, backendnext]
needs: [lint]
steps:
- uses: actions/checkout@v4
- name: Test docker-compose.yaml
run: docker compose up --wait --wait-timeout 300
run: BE_VERSION=$BE_VERSION docker compose up --wait --wait-timeout 300

0 comments on commit cbec56d

Please sign in to comment.