Skip to content

Commit

Permalink
.github/workflows/tests: Run system tests on Canonical runners
Browse files Browse the repository at this point in the history
Signed-off-by: Max Asnaashari <max.asnaashari@canonical.com>
  • Loading branch information
masnax committed Sep 12, 2023
1 parent 4c195c6 commit 585d7c6
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,11 @@ jobs:

system-tests:
name: System tests
runs-on: ubuntu-22.04
runs-on: [self-hosted, linux, X64, two-xlarge, jammy]
env:
SNAPCRAFT_BUILD_ENVIRONMENT: "lxd"
SKIP_SETUP_LOGS: 1
CONCURRENT_SETUP: 1
steps:
- name: Checkout code
uses: actions/checkout@v3
Expand All @@ -64,8 +66,10 @@ jobs:

- name: Run system tests
run: |
set -eux
sudo snap install --dangerous microcloud_*.snap
export MICROCLOUD_SNAP_PATH=$(printf "%s/%s" $(pwd) microcloud_*.snap)
cd microcloud
make check-system
cd -
- name: Upload artifacts
if: always()
Expand Down

0 comments on commit 585d7c6

Please sign in to comment.