Skip to content

Commit

Permalink
e2e-tests: Add GitHub action to run a subset of 2e2 tests
Browse files Browse the repository at this point in the history
It uses the following GitHub secrets:
- E2E_TEST_FACTORY
- E2E_TEST_USER_TOKEN

Signed-off-by: Andre Detsch <andre.detsch@foundries.io>
  • Loading branch information
detsch committed Oct 14, 2024
1 parent f8f337a commit d9c00f6
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,17 @@ jobs:
- run: git submodule update --init --recursive
- name: test
run: make -f dev-flow.mk config build test

e2e-test:
name: End-to-end tests
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- run: git config --global --add safe.directory /__w/aktualizr-lite/aktualizr-lite
- run: git submodule update --init --recursive
- run: ./dev-shell-e2e-test.sh make -f dev-flow.mk config build
- run: ./dev-shell-e2e-test.sh pytest e2e-test.py -k 'test_incremental_updates[True-False]'
env:
FACTORY: ${{ secrets.E2E_TEST_FACTORY }}
USER_TOKEN: ${{ secrets.E2E_TEST_USER_TOKEN }}

0 comments on commit d9c00f6

Please sign in to comment.