Skip to content

update docs

update docs #222

Workflow file for this run

name: Build
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
#----------------------------------------------
# check-out repo and set-up python
#----------------------------------------------
jobs:
sonarcloud:
name: SonarCloud
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
#----------------------------------------------
# install your root project, if required
#----------------------------------------------
- name: Install myfempy
run: pip install .
#----------------------------------------------
# run lint and test suite
#----------------------------------------------
- name: Run lint
run: make lint
- name: Run tests
run: make test
- uses: actions/upload-artifact@v2
with:
name: code-coverage
path: htmlcov
continue-on-error: true
- uses: actions/upload-artifact@v2
with:
name: code-coverage
path: htmlcov
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}