Skip to content

Commit

Permalink
Drop the integration tests code, update the CI
Browse files Browse the repository at this point in the history
- The code has been moved to a separate GitHub repository
  https://github.com/agama-project/integration-tests
- Update the CI accordingly
  • Loading branch information
lslezak committed Jan 6, 2025
1 parent c08869b commit b39d60f
Show file tree
Hide file tree
Showing 14 changed files with 12 additions and 3,795 deletions.
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 /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

0 comments on commit b39d60f

Please sign in to comment.