1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-03 04:45:21 +02:00

chore(ci): separate tests from CI (#10524)

This commit is contained in:
Chaim Lev-Ari 2023-10-25 07:52:04 +03:00 committed by GitHub
parent 577eef5de0
commit 09f9c09706
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 6 deletions

View file

@ -71,12 +71,6 @@ jobs:
restore-keys: |
${{ matrix.config.platform }}-${{ matrix.config.arch }}-yarn-
enableCrossOsArchive: true
- name: "[preparation] execute client test"
run: |
make client-deps && make test-client
- name: "[preparation] execute server test"
run: |
make test-server
- name: "[preparation] set up qemu"
uses: docker/setup-qemu-action@v2
- name: "[preparation] set up docker context for buildx"

View file

@ -15,6 +15,13 @@ jobs:
- name: Run tests
run: make test-client ARGS="--maxWorkers=2"
test-server:
strategy:
matrix:
config:
- { platform: linux, arch: amd64 }
- { platform: linux, arch: arm64 }
- { platform: windows, arch: amd64, version: 1809 }
- { platform: windows, arch: amd64, version: ltsc2022 }
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3