mirror of
https://github.com/portainer/portainer.git
synced 2025-08-04 13:25:26 +02:00
chore(ci): separate tests from CI (#10524)
This commit is contained in:
parent
577eef5de0
commit
09f9c09706
2 changed files with 7 additions and 6 deletions
6
.github/workflows/ci.yaml
vendored
6
.github/workflows/ci.yaml
vendored
|
@ -71,12 +71,6 @@ jobs:
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ matrix.config.platform }}-${{ matrix.config.arch }}-yarn-
|
${{ matrix.config.platform }}-${{ matrix.config.arch }}-yarn-
|
||||||
enableCrossOsArchive: true
|
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"
|
- name: "[preparation] set up qemu"
|
||||||
uses: docker/setup-qemu-action@v2
|
uses: docker/setup-qemu-action@v2
|
||||||
- name: "[preparation] set up docker context for buildx"
|
- name: "[preparation] set up docker context for buildx"
|
||||||
|
|
7
.github/workflows/test.yaml
vendored
7
.github/workflows/test.yaml
vendored
|
@ -15,6 +15,13 @@ jobs:
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: make test-client ARGS="--maxWorkers=2"
|
run: make test-client ARGS="--maxWorkers=2"
|
||||||
test-server:
|
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
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue