Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9bdd392
commit b8bd113
Showing
2 changed files
with
62 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
|
||
name: big_tests execution | ||
inputs: | ||
preset: | ||
description: "test preset" | ||
required: true | ||
type: string | ||
otp: | ||
description: "OTP version" | ||
required: true | ||
type: string | ||
tls-dist: | ||
description: "OTP distribution over TLS" | ||
required: false | ||
default: false | ||
type: boolean | ||
test-spec: | ||
description: "test spec" | ||
required: false | ||
default: "default.spec" | ||
type: string | ||
runs: | ||
using: "composite" | ||
steps: | ||
- uses: erlef/setup-beam@v1 | ||
with: | ||
otp-version: ${{inputs.otp}} | ||
- uses: actions/cache@v3 | ||
with: | ||
path: ~/.cache/rebar3 | ||
key: rebar3-${{ hashFiles('rebar.lock') }} | ||
- name: create certificates | ||
run: make certs | ||
- name: set required env variables for preset | ||
run: tools/gh-actions-configure-preset.sh "$PRESET" | ||
- if: ${{ inputs.preset == 'odbc_mssql_mnesia' }} | ||
run: sudo apt-get install -y tdsodbc | ||
- name: build releases | ||
run: tools/build-releases.sh | ||
- name: build big tests | ||
run: tools/build-tests.sh | ||
- name: start backends | ||
run: tools/setup-db.sh | ||
- name: run test | ||
run: tools/test.sh -p $PRESET -s false -e false | ||
- name: prepare coverage report | ||
run: ./rebar3 codecov analyze --lcov --json false | ||
- name: report coverage | ||
uses: coverallsapp/github-action@v2 | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
flag-name: "${{inputs.preset}} (${{inputs.preset}}) on OTP ${{inputs.otp}}" | ||
path-to-lcov: ./lcov.info | ||
parallel: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters