Skip to content

Commit d6c0099

Browse files
committed
feat: integration tests on ubuntu 24.04
1 parent 2e8b95e commit d6c0099

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed

.semaphore/semaphore.yml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -792,6 +792,57 @@ blocks:
792792
commands:
793793
- 'test-results publish report.xml --name="Bats: Linux" --suite-prefix=$TEST'
794794

795+
- name: "Bats: Ubuntu 24.04"
796+
dependencies:
797+
- "Build local CLIs"
798+
task:
799+
agent:
800+
machine:
801+
type: e2-standard-2
802+
os_image: ubuntu2404
803+
prologue:
804+
commands:
805+
- checkout
806+
- artifact pull workflow bin/linux/amd64/cache -d cache-cli/bin/linux/amd64/cache
807+
- artifact pull workflow bin/linux/arm64/cache -d cache-cli/bin/linux/arm64/cache
808+
- artifact pull workflow bin/darwin/amd64/cache -d cache-cli/bin/darwin/amd64/cache
809+
- artifact pull workflow bin/darwin/arm64/cache -d cache-cli/bin/darwin/arm64/cache
810+
- artifact pull workflow bin/linux/amd64/sem-context -d sem-context/bin/linux/amd64/sem-context
811+
- artifact pull workflow bin/linux/arm64/sem-context -d sem-context/bin/linux/arm64/sem-context
812+
- artifact pull workflow bin/darwin/amd64/sem-context -d sem-context/bin/darwin/amd64/sem-context
813+
- artifact pull workflow bin/darwin/arm64/sem-context -d sem-context/bin/darwin/arm64/sem-context
814+
- artifact pull workflow bin/linux/amd64/test-results -d test-results/bin/linux/amd64/test-results
815+
- artifact pull workflow bin/linux/arm64/test-results -d test-results/bin/linux/arm64/test-results
816+
- artifact pull workflow bin/darwin/amd64/test-results -d test-results/bin/darwin/amd64/test-results
817+
- artifact pull workflow bin/darwin/arm64/test-results -d test-results/bin/darwin/arm64/test-results
818+
- bash release/create.sh
819+
- source tests/sftp_server/start_on_linux.sh
820+
- sudo apt-get install -y python3.8-dev
821+
- sem-version python 3.11
822+
- sem-version go 1.22
823+
- sem-version php 7.3.23
824+
jobs:
825+
- name: "Non-cache tests"
826+
matrix:
827+
- env_var: TEST
828+
values:
829+
- tests/install_package.bats
830+
- tests/artifacts.bats
831+
- tests/compiler.bats
832+
- tests/test-results.bats
833+
- tests/enetwork.bats
834+
- tests/sem-semantic-release.bats
835+
commands:
836+
- source release/install_in_tests.sh
837+
- git submodule init && git submodule update
838+
- sudo ./tests/support/bats-core/install.sh /usr/local
839+
- bats --report-formatter junit --tap --timing $TEST
840+
841+
epilogue:
842+
always:
843+
commands:
844+
- 'test-results publish report.xml --name="Bats: Linux" --suite-prefix=$TEST'
845+
795846
- name: "Cache CLI: Tests"
796847
dependencies: []
797848
task:

0 commit comments

Comments
 (0)