Skip to content

Commit

Permalink
TMP: add the github version
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinMind committed May 17, 2024
1 parent 60538da commit 5f8181f
Show file tree
Hide file tree
Showing 2 changed files with 163 additions and 1 deletion.
162 changes: 162 additions & 0 deletions .github/workflows/verify-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,165 @@ jobs:
version: ${{ steps.build.outputs.version }}
run: |
make check
test_test_addons_versions_files_ratings:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Build Docker image
id: build
uses: ./.github/actions/build-docker

- name: Test (test_addons_versions_files_ratings)
uses: ./.github/actions/run-docker
with:
services: ''
version: ${{ steps.build.outputs.version }}
run: |
make test_addons_versions_files_ratings
test_amo_lib_locales_and_signing:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Build Docker image
id: build
uses: ./.github/actions/build-docker

- name: Test (test_amo_lib_locales_and_signing)
uses: ./.github/actions/run-docker
with:
services: ''
version: ${{ steps.build.outputs.version }}
run: |
make test_amo_lib_locales_and_signing
test_needs_locales_compilation:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Build Docker image
id: build
uses: ./.github/actions/build-docker

- name: Test (test_needs_locales_compilation)
uses: ./.github/actions/run-docker
with:
services: ''
version: ${{ steps.build.outputs.version }}
run: |
make test_needs_locales_compilation
test_static_assets:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Build Docker image
id: build
uses: ./.github/actions/build-docker

- name: Test (test_static_assets)
uses: ./.github/actions/run-docker
with:
services: ''
version: ${{ steps.build.outputs.version }}
run: |
make test_static_assets
test_devhub:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Build Docker image
id: build
uses: ./.github/actions/build-docker

- name: Test (test_devhub)
uses: ./.github/actions/run-docker
with:
services: ''
version: ${{ steps.build.outputs.version }}
run: |
make test_devhub
test_main:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Build Docker image
id: build
uses: ./.github/actions/build-docker

- name: Test (test_main)
uses: ./.github/actions/run-docker
with:
services: ''
version: ${{ steps.build.outputs.version }}
run: |
make test_main
test_reviewers_and_zadmin:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Build Docker image
id: build
uses: ./.github/actions/build-docker

- name: Test (test_reviewers_and_zadmin)
uses: ./.github/actions/run-docker
with:
services: ''
version: ${{ steps.build.outputs.version }}
run: |
make test_reviewers_and_zadmin
test_internal_routes_allowed:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Build Docker image
id: build
uses: ./.github/actions/build-docker

- name: Test (test_internal_routes_allowed)
uses: ./.github/actions/run-docker
with:
services: ''
version: ${{ steps.build.outputs.version }}
run: |
make test_internal_routes_allowed
test_es_tests:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Build Docker image
id: build
uses: ./.github/actions/build-docker

- name: Test (test_es_tests)
uses: ./.github/actions/run-docker
with:
services: ''
version: ${{ steps.build.outputs.version }}
run: |
make test_es_tests
2 changes: 1 addition & 1 deletion Makefile-docker
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ test_reviewers_and_zadmin:
-v src/olympia/reviewers/ src/olympia/zadmin/

.PHONY: test_internal_routes_allowed
internal_routes_allowed:
test_internal_routes_allowed:
# We need to change the setting in the file because we can't
# override an env variable here, and the next command requires
# `INTERNAL_ROUTES_ALLOWED` to be set to `True`.
Expand Down

0 comments on commit 5f8181f

Please sign in to comment.