mirror of
https://github.com/NLnetLabs/krill.git
synced 2026-09-13 04:57:43 +02:00
Remove Cypress based UI tests (#1035)
This commit is contained in:
@@ -50,7 +50,7 @@ jobs:
|
||||
|
||||
# Test with no features, default features ("") and all except UI tests.
|
||||
# Order: fewest features to most features.
|
||||
args: ["--no-default-features", "", "--features all-except-ui-tests"]
|
||||
args: ["--no-default-features", "", "--features all"]
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
@@ -60,13 +60,6 @@ jobs:
|
||||
rust-version: ${{ matrix.rust }}
|
||||
- run: cargo build --verbose ${{ matrix.args }} --locked
|
||||
- run: cargo test --verbose ${{ matrix.args }} -- --test-threads=1 2>&1
|
||||
- name: Archive Cypress UI test image & video captures
|
||||
if: ${{ always() }}
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: cypress-ui-test-captures ${{ matrix.os }} ${{ matrix.rust }}
|
||||
path: target/ui/
|
||||
if-no-files-found: ignore
|
||||
|
||||
pykmip-test:
|
||||
name: pykmip-test
|
||||
|
||||
@@ -28,10 +28,7 @@ jobs:
|
||||
with:
|
||||
rust-version: ${{ matrix.rust }}
|
||||
- run: cargo install cargo-tarpaulin
|
||||
# use a long timeout with tarpaulin as UI tests have to docker pull the
|
||||
# cypress.io image which can cause a test timeout with the default tarpaulin
|
||||
# timeout of 1 minute.
|
||||
- run: cargo tarpaulin --locked --verbose --out Html --timeout 900 ${{ matrix.args }}
|
||||
- run: cargo tarpaulin --locked --verbose --out Html ${{ matrix.args }}
|
||||
- name: Archive code coverage results
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user