Revert "Adjust project bootstrap scripts to be windows-friendly (#1870)" #27
Workflow file for this run
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
name: Backend unit tests | |
on: | |
pull_request: | |
paths: | |
- packages/backend/** | |
jobs: | |
unit-tests: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-20.04, macos-latest, windows-2019] | |
steps: | |
- name: "Print OS" | |
run: echo ${{ matrix.os }} | |
- uses: actions/checkout@v4 | |
- name: "Setup environment" | |
uses: ./.github/actions/setup-env | |
with: | |
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,backend-bundle" | |
- name: "Unit tests" | |
run: lerna run test-ci --scope @quiet/backend --stream | |
long-running-tests: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-20.04] | |
steps: | |
- name: "Print OS" | |
run: echo ${{ matrix.os }} | |
- uses: actions/checkout@v4 | |
- name: "Setup environment" | |
uses: ./.github/actions/setup-env | |
with: | |
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,backend-bundle" | |
- name: "Unit tests" | |
run: lerna run test-ci-long-running --scope @quiet/backend --stream | |
unit-tests-with-tor: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-20.04] | |
steps: | |
- name: "Print OS" | |
run: echo ${{ matrix.os }} | |
- uses: actions/checkout@v4 | |
- name: "Setup environment" | |
uses: ./.github/actions/setup-env | |
with: | |
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,backend-bundle" | |
- name: "Unit tests" | |
run: lerna run test-ci-tor --scope @quiet/backend --stream |