mirror of
https://github.com/hexedtech/codemp.git
synced 2024-11-21 23:04:49 +01:00
ci: run functional tests too
This commit is contained in:
parent
26bbd190dd
commit
adaaf86e32
1 changed files with 18 additions and 1 deletions
19
.github/workflows/test.yml
vendored
19
.github/workflows/test.yml
vendored
|
@ -40,7 +40,7 @@ jobs:
|
|||
toolchain: ${{ matrix.toolchain }}
|
||||
- run: cargo build --release --verbose --features=${{ matrix.features }}
|
||||
|
||||
test:
|
||||
test-unit:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
|
@ -57,3 +57,20 @@ jobs:
|
|||
with:
|
||||
toolchain: ${{ matrix.toolchain }}
|
||||
- run: cargo test --verbose
|
||||
|
||||
test-functional:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: arduino/setup-protoc@v3
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- uses: actions/checkout@v4
|
||||
- uses: dtolnay/rust-toolchain@master
|
||||
with:
|
||||
toolchain: ${{ matrix.toolchain }}
|
||||
- run: cargo test --verbose --features=test-e2e
|
||||
env:
|
||||
CODEMP_TEST_USERNAME_ALICE: ${{ secrets.CODEMP_TEST_USERNAME_ALICE }}
|
||||
CODEMP_TEST_PASSWORD_ALICE: ${{ secrets.CODEMP_TEST_PASSWORD_ALICE }}
|
||||
CODEMP_TEST_USERNAME_BOB: ${{ secrets.CODEMP_TEST_USERNAME_BOB }}
|
||||
CODEMP_TEST_PASSWORD_BOB: ${{ secrets.CODEMP_TEST_PASSWORD_BOB }}
|
||||
|
|
Loading…
Reference in a new issue