Trying to make tests more stable #68
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: Fossil | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
main: | |
name: Run Fossil Tests | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
security-events: write | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Install packages | |
run: npm install | |
- name: Run ESLint | |
run: npm run lint -- | |
--format @microsoft/eslint-formatter-sarif | |
--output-file eslint-results.sarif | |
continue-on-error: true | |
- name: Upload analysis results to GitHub | |
uses: github/codeql-action/upload-sarif@v2 | |
with: | |
sarif_file: eslint-results.sarif | |
wait-for-processing: true | |
- name: Install fossil | |
# we need 'xvfb libnss3-dev libgtk-3-dev libasound2' | |
# when running locally using `gh act` command | |
run: sudo apt-get install -y fossil | |
- name: Run tests and coverage | |
run: xvfb-run -a npm run coverage-ci $GITHUB_STEP_SUMMARY |