Skip to content

Commit

Permalink
Test new Docker-based tests
Browse files Browse the repository at this point in the history
  • Loading branch information
stv0g committed May 3, 2023
1 parent 16bc9ff commit 3aed92e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 10 deletions.
13 changes: 13 additions & 0 deletions .github/.ci.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
# SPDX-License-Identifier: MIT

PRE_TEST_HOOK=_pre_test
POST_TEST_HOOK=_post_test

_pre_test() {
echo "This is the pre-test hook"
}

_post_test() {
echo "This is the post-test hook"
}
13 changes: 3 additions & 10 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,22 +20,15 @@ on:

jobs:
test:
uses: pion/.goassets/.github/workflows/test.reusable.yml@master
strategy:
matrix:
go: ['1.20', '1.19'] # auto-update/supported-go-version-list
fail-fast: false
with:
go-version: ${{ matrix.go }}

test-i386:
uses: pion/.goassets/.github/workflows/test-i386.reusable.yml@master
uses: stv0g/.goassets/.github/workflows/test.reusable.yml@more-platforms
strategy:
matrix:
go: ['1.20', '1.19'] # auto-update/supported-go-version-list
arch: ['i386', 'arm/v7', 'arm64/v8', 'amd64']
fail-fast: false
with:
go-version: ${{ matrix.go }}
arch: ${{ matrix.arch }}

test-wasm:
uses: pion/.goassets/.github/workflows/test-wasm.reusable.yml@master
Expand Down

0 comments on commit 3aed92e

Please sign in to comment.