ci: use self-hosted for all Erlang tests
prepare, proper, eunit, ct and cover
This commit is contained in:
parent
1f05498b27
commit
949916fc1c
|
@ -11,7 +11,7 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
prepare:
|
prepare:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: aws-amd64
|
||||||
container: emqx/build-env:erl23.3.4.9-3-ubuntu20.04
|
container: emqx/build-env:erl23.3.4.9-3-ubuntu20.04
|
||||||
outputs:
|
outputs:
|
||||||
fast_ct_apps: ${{ steps.run_find_apps.outputs.fast_ct_apps }}
|
fast_ct_apps: ${{ steps.run_find_apps.outputs.fast_ct_apps }}
|
||||||
|
@ -40,6 +40,7 @@ jobs:
|
||||||
- name: get_all_deps
|
- name: get_all_deps
|
||||||
working-directory: source
|
working-directory: source
|
||||||
run: |
|
run: |
|
||||||
|
git config --global --add safe.directory $(pwd)
|
||||||
# build the default profile for two purposes
|
# build the default profile for two purposes
|
||||||
# 1. download all dependencies (so the individual app runs do not depend on github credentials)
|
# 1. download all dependencies (so the individual app runs do not depend on github credentials)
|
||||||
# 2. some of the files such as segmented config files are not created when compiling only the test profile
|
# 2. some of the files such as segmented config files are not created when compiling only the test profile
|
||||||
|
@ -55,7 +56,7 @@ jobs:
|
||||||
|
|
||||||
eunit_and_proper:
|
eunit_and_proper:
|
||||||
needs: prepare
|
needs: prepare
|
||||||
runs-on: ubuntu-20.04
|
runs-on: aws-amd64
|
||||||
container: emqx/build-env:erl23.3.4.9-3-ubuntu20.04
|
container: emqx/build-env:erl23.3.4.9-3-ubuntu20.04
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
|
@ -83,7 +84,7 @@ jobs:
|
||||||
|
|
||||||
fast_ct:
|
fast_ct:
|
||||||
needs: prepare
|
needs: prepare
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ${{ matrix.runs-on }}
|
||||||
container: emqx/build-env:erl23.3.4.9-3-ubuntu20.04
|
container: emqx/build-env:erl23.3.4.9-3-ubuntu20.04
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
|
@ -246,7 +247,7 @@ jobs:
|
||||||
- eunit_and_proper
|
- eunit_and_proper
|
||||||
- fast_ct
|
- fast_ct
|
||||||
- docker_ct
|
- docker_ct
|
||||||
runs-on: ubuntu-20.04
|
runs-on: aws-amd64
|
||||||
container: emqx/build-env:erl23.3.4.9-3-ubuntu20.04
|
container: emqx/build-env:erl23.3.4.9-3-ubuntu20.04
|
||||||
steps:
|
steps:
|
||||||
- uses: AutoModality/action-clean@v1
|
- uses: AutoModality/action-clean@v1
|
||||||
|
@ -276,7 +277,7 @@ jobs:
|
||||||
|
|
||||||
finish:
|
finish:
|
||||||
needs: make_cover
|
needs: make_cover
|
||||||
runs-on: ubuntu-20.04
|
runs-on: aws-amd64
|
||||||
steps:
|
steps:
|
||||||
- name: Coveralls Finished
|
- name: Coveralls Finished
|
||||||
env:
|
env:
|
||||||
|
|
Loading…
Reference in New Issue