Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: catch compilation errors #266

Merged
merged 3 commits into from
Jul 20, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 62 additions & 2 deletions .github/workflows/end2end_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ env:
SSHNPD_ATSIGN: "@8052simple"
SSHRVD_ATSIGN: "@8485wealthy51"
SSHRVD_RV_AM_ATSIGN: "@rv_am"
DOCKER_COMPOSE_UP_CMD: "docker compose up --build --exit-code-from=container-sshnp --quiet-pull"
DOCKER_COMPOSE_UP_CMD: "docker compose up --exit-code-from=container-sshnp"
WAITING_TIME_WITH_SYNC: 30
WAITING_TIME_WITHOUT_SYNC: 2

Expand Down Expand Up @@ -69,6 +69,11 @@ jobs:
cat sshnp/entrypoint.sh
cat sshnpd/entrypoint.sh
- name: Build
working-directory: packages/sshnoports/test/end2end_tests/tests/local-local
run: |
docker compose build
- name: Test
working-directory: packages/sshnoports/test/end2end_tests/tests/local-local
run: |
Expand Down Expand Up @@ -111,6 +116,11 @@ jobs:
cat sshnp/entrypoint.sh
cat sshnpd/entrypoint.sh
- name: Build
working-directory: packages/sshnoports/test/end2end_tests/tests/local-trunk
run: |
docker compose build
- name: Test
working-directory: packages/sshnoports/test/end2end_tests/tests/local-trunk
run: |
Expand Down Expand Up @@ -153,6 +163,11 @@ jobs:
cat sshnp/entrypoint.sh
cat sshnpd/entrypoint.sh
- name: Build
working-directory: packages/sshnoports/test/end2end_tests/tests/trunk-local
run: |
docker compose build
- name: Test
working-directory: packages/sshnoports/test/end2end_tests/tests/trunk-local
run: |
Expand Down Expand Up @@ -195,6 +210,11 @@ jobs:
cat sshnp/entrypoint.sh
cat sshnpd/entrypoint.sh
- name: Build
working-directory: packages/sshnoports/test/end2end_tests/tests/local-release
run: |
docker compose build
- name: Test
working-directory: packages/sshnoports/test/end2end_tests/tests/local-release
run: |
Expand Down Expand Up @@ -237,6 +257,11 @@ jobs:
cat sshnp/entrypoint.sh
cat sshnpd/entrypoint.sh
- name: Build
working-directory: packages/sshnoports/test/end2end_tests/tests/release-local
run: |
docker compose build
- name: Test
working-directory: packages/sshnoports/test/end2end_tests/tests/release-local
run: |
Expand Down Expand Up @@ -278,6 +303,11 @@ jobs:
cat sshnp/entrypoint.sh
cat sshnpd/entrypoint.sh
- name: Build
working-directory: packages/sshnoports/test/end2end_tests/tests/local-release3.2.0
run: |
docker compose build
- name: Test
working-directory: packages/sshnoports/test/end2end_tests/tests/local-release3.2.0
run: |
Expand Down Expand Up @@ -319,6 +349,11 @@ jobs:
cat sshnp/entrypoint.sh
cat sshnpd/entrypoint.sh
- name: Build
working-directory: packages/sshnoports/test/end2end_tests/tests/release3.2.0-local
run: |
docker compose build
- name: Test
working-directory: packages/sshnoports/test/end2end_tests/tests/release3.2.0-local
run: |
Expand Down Expand Up @@ -360,6 +395,11 @@ jobs:
cat sshnp/entrypoint.sh
cat sshnpd/entrypoint.sh
- name: Build
working-directory: packages/sshnoports/test/end2end_tests/tests/local-release3.3.0
run: |
docker compose build
- name: Test
working-directory: packages/sshnoports/test/end2end_tests/tests/local-release3.3.0
run: |
Expand Down Expand Up @@ -401,6 +441,11 @@ jobs:
cat sshnp/entrypoint.sh
cat sshnpd/entrypoint.sh
- name: Build
working-directory: packages/sshnoports/test/end2end_tests/tests/release3.3.0-local
run: |
docker compose build
- name: Test
working-directory: packages/sshnoports/test/end2end_tests/tests/release3.3.0-local
run: |
Expand Down Expand Up @@ -442,6 +487,11 @@ jobs:
cat sshnp/entrypoint.sh
cat sshnpd/entrypoint.sh
- name: Build
working-directory: packages/sshnoports/test/end2end_tests/tests/release3.1.2-local
run: |
docker compose build
- name: Test
working-directory: packages/sshnoports/test/end2end_tests/tests/release3.1.2-local
run: |
Expand Down Expand Up @@ -483,6 +533,11 @@ jobs:
cat sshnp/entrypoint.sh
cat sshnpd/entrypoint.sh
- name: Build
working-directory: packages/sshnoports/test/end2end_tests/tests/local-release3.1.2
run: |
docker compose build
- name: Test
working-directory: packages/sshnoports/test/end2end_tests/tests/local-release3.1.2
run: |
Expand Down Expand Up @@ -527,6 +582,11 @@ jobs:
cat sshnpd/entrypoint.sh
cat sshrvd/entrypoint.sh
- name: Build
working-directory: packages/sshnoports/test/end2end_tests/tests/local-local-local
run: |
docker compose build
- name: Test
working-directory: packages/sshnoports/test/end2end_tests/tests/local-local-local
run: |
Expand All @@ -543,4 +603,4 @@ jobs:
if: always()
working-directory: packages/sshnoports/test/end2end_tests/tests/local-local-local
run: |
docker compose down
docker compose down