mirror of
https://github.com/aliasvault/aliasvault.git
synced 2026-06-08 07:37:12 -04:00
* Bump the npm_and_yarn group across 2 directories with 2 updates Bumps the npm_and_yarn group with 1 update in the /apps/browser-extension directory: [ws](https://github.com/websockets/ws). Bumps the npm_and_yarn group with 1 update in the /apps/mobile-app directory: [postcss](https://github.com/postcss/postcss). Updates `ws` from 8.18.2 to 8.21.0 - [Release notes](https://github.com/websockets/ws/releases) - [Commits](https://github.com/websockets/ws/compare/8.18.2...8.21.0) Updates `ws` from 8.18.2 to 8.21.0 - [Release notes](https://github.com/websockets/ws/releases) - [Commits](https://github.com/websockets/ws/compare/8.18.2...8.21.0) Updates `postcss` from 8.4.49 to 8.5.15 - [Release notes](https://github.com/postcss/postcss/releases) - [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md) - [Commits](https://github.com/postcss/postcss/compare/8.4.49...8.5.15) Updates `postcss` from 8.4.49 to 8.5.15 - [Release notes](https://github.com/postcss/postcss/releases) - [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md) - [Commits](https://github.com/postcss/postcss/compare/8.4.49...8.5.15) --- updated-dependencies: - dependency-name: postcss dependency-version: 8.5.15 dependency-type: indirect - dependency-name: ws dependency-version: 8.21.0 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> * Update package-lock.json (#2067) * Update NodeJS to latest 24.x LTS * Revert Expo back to 53.x (#2067) * Upgrade expo and react-native (#2067) * Update mobile app to support Expo 56 (#2067) * Update wxt (#2067) * Change util filenames to be consistent PascalCase (#2067) * Restore deep-linking behavior to work with new Expo Router (#2067) * Update eslint.config.js (#2067) * Update package-lock.json (#2067) * Refactor linting (#2067) --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Leendert de Borst <ldeborst@xivisoft.com>
125 lines
3.3 KiB
YAML
125 lines
3.3 KiB
YAML
# Server E2E tests (Admin and Client/Blazor WASM)
|
|
name: E2E Tests - Server
|
|
|
|
on:
|
|
push:
|
|
branches: [ "main" ]
|
|
paths:
|
|
- 'apps/server/**'
|
|
- 'core/**'
|
|
- 'install.sh'
|
|
- '.github/workflows/e2e-tests-server.yml'
|
|
pull_request:
|
|
branches: [ "main" ]
|
|
paths:
|
|
- 'apps/server/**'
|
|
- 'core/**'
|
|
- 'install.sh'
|
|
- '.github/workflows/e2e-tests-server.yml'
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
admin-tests:
|
|
timeout-minutes: 60
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
|
|
- name: Setup .NET
|
|
uses: actions/setup-dotnet@v5
|
|
with:
|
|
dotnet-version: 10.0.x
|
|
|
|
- name: Install dependencies
|
|
working-directory: apps/server
|
|
run: dotnet workload install wasm-tools
|
|
|
|
- name: Build
|
|
working-directory: apps/server
|
|
run: dotnet build
|
|
|
|
- name: Start dev database
|
|
run: ./install.sh configure-dev-db start
|
|
|
|
- name: Ensure browsers are installed
|
|
working-directory: apps/server
|
|
run: pwsh Tests/AliasVault.E2ETests/bin/Debug/net10.0/playwright.ps1 install --with-deps
|
|
|
|
- name: Run AdminTests with retry
|
|
uses: nick-fields/retry@v4
|
|
with:
|
|
timeout_minutes: 60
|
|
max_attempts: 3
|
|
command: cd apps/server && dotnet test Tests/AliasVault.E2ETests --no-build --verbosity normal --filter "Category=AdminTests"
|
|
|
|
- name: Upload Test Results
|
|
if: always()
|
|
uses: actions/upload-artifact@v7
|
|
with:
|
|
name: admin-test-results
|
|
path: TestResults-Admin.xml
|
|
|
|
client-tests:
|
|
timeout-minutes: 60
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
shard: [1, 2, 3, 4, 5]
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
|
|
- name: Setup .NET
|
|
uses: actions/setup-dotnet@v5
|
|
with:
|
|
dotnet-version: 10.0.x
|
|
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v6
|
|
with:
|
|
node-version: '24'
|
|
|
|
- name: Setup Rust toolchain
|
|
uses: dtolnay/rust-toolchain@stable
|
|
with:
|
|
targets: wasm32-unknown-unknown
|
|
|
|
- name: Cache Rust dependencies
|
|
uses: Swatinem/rust-cache@v2
|
|
with:
|
|
workspaces: core/rust
|
|
|
|
- name: Install wasm-pack
|
|
run: cargo install wasm-pack --locked
|
|
|
|
- name: Build core libraries
|
|
run: |
|
|
cd ./core
|
|
chmod +x build-and-distribute.sh
|
|
./build-and-distribute.sh --browser
|
|
|
|
- name: Install dependencies
|
|
working-directory: apps/server
|
|
run: dotnet workload install wasm-tools
|
|
|
|
- name: Build
|
|
working-directory: apps/server
|
|
run: dotnet build
|
|
|
|
- name: Start dev database
|
|
run: ./install.sh configure-dev-db start
|
|
|
|
- name: Ensure browsers are installed
|
|
working-directory: apps/server
|
|
run: pwsh Tests/AliasVault.E2ETests/bin/Debug/net10.0/playwright.ps1 install --with-deps
|
|
|
|
- name: Run ClientTests with retry (Shard ${{ matrix.shard }})
|
|
uses: nick-fields/retry@v4
|
|
with:
|
|
timeout_minutes: 60
|
|
max_attempts: 3
|
|
command: cd apps/server && dotnet test Tests/AliasVault.E2ETests --no-build --verbosity normal --filter "FullyQualifiedName~.E2ETests.Tests.Client.Shard${{ matrix.shard }}."
|