Add more app logging to the tests #350
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: Continuous integration | |
on: push | |
jobs: | |
build: | |
name: Build and test ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [windows-2022, ubuntu-22.04] | |
include: | |
- os: windows-2022 | |
script_name: .\build.cmd | |
- os: ubuntu-22.04 | |
script_name: ./build.sh | |
steps: | |
- name: checkout | |
uses: actions/checkout@v1 | |
- name: Download and install node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: '14.x' | |
- name: Install .NET 8.x SDK for build | |
uses: actions/setup-dotnet@v2 | |
with: | |
global-json-file: global.json | |
- name: Output important software versions (node) | |
run: node --version | |
- name: Output important software versions (yarn) | |
run: yarn --version | |
- name: Output important software versions (dotnet) | |
run: dotnet --version | |
- name: Build - restore nuget packages | |
run: ${{ matrix.script_name }} --target=restore-nuget-packages --verbosity=verbose | |
- name: Build - restore node packages | |
run: ${{ matrix.script_name }} --target=restore-node-packages --verbosity=verbose | |
- name: Build - test | |
env: | |
MOZ_HEADLESS: 1 | |
CIRCLECI: 1 | |
RETURN_TEST_WAIT_TIME: 30 | |
run: ${{ matrix.script_name }} --target=test --use-code-coverage=false --verbosity=verbose | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v4 | |
continue-on-error: true | |
if: always() | |
with: | |
name: logs | |
path: build/testresults |