Update dependency aegir to v45.0.7 #660
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: Tests IPA | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
tests-nodejs: | |
name: Tests sur Node.js | |
runs-on: ubuntu-latest | |
steps: | |
- name: Ouvrir la branche | |
uses: actions/checkout@v4 | |
- name: Installer pnpm | |
uses: pnpm/[email protected] | |
with: | |
version: latest | |
- name: Préparation de Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: pnpm | |
- name: Installer | |
run: pnpm install | |
- name: Vérifier les tests | |
run: pnpm test:node | |
- name: Envoyer couverure à Codecov | |
uses: codecov/codecov-action@v5 | |
tests-navig: | |
name: Tests sur navigateur | |
runs-on: ubuntu-latest | |
steps: | |
- name: Ouvrir la branche | |
uses: actions/checkout@v4 | |
- name: Installer pnpm | |
uses: pnpm/[email protected] | |
with: | |
version: latest | |
- name: Préparation de Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: pnpm | |
- name: Installer | |
run: pnpm install | |
- name: Vérifier les tests | |
run: pnpm test:navig | |
- name: Envoyer couverure à Codecov | |
uses: codecov/codecov-action@v5 | |
test-electron-principal: | |
name: Tests sur Électron principal | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
runs-on: ${{ matrix.os }} | |
needs: tests-nodejs | |
steps: | |
- name: Ouvrir la branche | |
uses: actions/checkout@v4 | |
- name: Installer pnpm | |
uses: pnpm/[email protected] | |
with: | |
version: latest | |
- name: Préparation de Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: pnpm | |
- name: Installer | |
run: pnpm install | |
- name: Vérifier les tests | |
# De cawa-93/vite-electron-builder | |
if: matrix.os == 'ubuntu-latest' | |
run: xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- pnpm run test:électron-principal | |
- name: Vérifier les tests | |
if: matrix.os != 'ubuntu-latest' | |
run: pnpm run test:électron-principal | |
- name: Envoyer couverure à Codecov | |
uses: codecov/codecov-action@v5 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} |