ci: run test cases on self-hosted

This commit is contained in:
William Yang 2022-08-10 17:32:48 +02:00
parent 60ef87a4d4
commit f245b34c34
1 changed files with 13 additions and 2 deletions

View File

@ -24,8 +24,19 @@ jobs:
run: make proper run: make proper
run_common_test: run_common_test:
runs-on: ubuntu-20.04 runs-on: ${{ matrix.runs-on }}
strategy:
matrix:
runs-on:
- aws-amd64
- ubuntu-20.04
use-self-hosted:
- ${{ github.repository_owner == 'emqx' }}
exclude:
- runs-on: ubuntu-20.04
use-self-hosted: true
- runs-on: aws-amd64
use-self-hosted: false
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: set edition - name: set edition