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

refactor(integration-tests): Drop the integration tests code, update the CI #1865

Merged
merged 1 commit into from
Jan 7, 2025
Merged
Show file tree
Hide file tree
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
19 changes: 12 additions & 7 deletions .github/workflows/ci-integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,17 @@ jobs:
fetch-depth: 0
fetch-tags: true

- name: Checkout integration tests
uses: actions/checkout@v4
with:
path: integration-tests
repository: ${{ github.repository_owner }}/integration-tests
fetch-depth: 1

- name: Build integration test
run: npm ci && ESLINT=0 npm run build
working-directory: ./integration-tests

- name: Created shared YaST log directory
run: mkdir -p /tmp/log/YaST2 /tmp/log/puppeteer

Expand Down Expand Up @@ -71,16 +82,10 @@ jobs:
- name: Run the Agama smoke test
run: podman exec agama curl http://localhost

- name: Run the Puppeteer tests
# update the test file and the runner script from git
run: podman exec agama bash -c
"cp /checkout/puppeteer/tests/test_root_password.js /usr/share/agama/integration-tests/tests &&
cp /checkout/puppeteer/agama-integration-tests /usr/bin/agama-integration-tests"

- name: Run the Puppeteer tests
# run the test
run: podman exec agama bash -c "cd /var/log/puppeteer &&
agama-integration-tests /usr/share/agama/integration-tests/tests/test_root_password.js"
node --enable-source-maps --test-reporter=spec /checkout/integration-tests/dist/test_root_password.js"

- name: Again show the D-Bus services log
# run even when any previous step fails
Expand Down
24 changes: 0 additions & 24 deletions .github/workflows/obs-staging-integration-tests.yml

This file was deleted.

2 changes: 0 additions & 2 deletions puppeteer/.gitignore

This file was deleted.

339 changes: 0 additions & 339 deletions puppeteer/LICENSE

This file was deleted.

93 changes: 0 additions & 93 deletions puppeteer/README.md

This file was deleted.

34 changes: 0 additions & 34 deletions puppeteer/agama-integration-tests

This file was deleted.

159 changes: 0 additions & 159 deletions puppeteer/node-prune.sh

This file was deleted.

9 changes: 0 additions & 9 deletions puppeteer/node-puppeteer-prune.sh

This file was deleted.

Loading
Loading