Skip to content

convert shape to tuple in test #25

convert shape to tuple in test

convert shape to tuple in test #25

Workflow file for this run

name: Build documentation, coverage, and scan with SonarCloud
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Python, Poetry and Dependencies
uses: packetcoders/action-setup-cache-python-poetry@main
with:
python-version: '3.9'
install-args: --with dev --with backends
- name: Install groco
run: poetry install
- name: Generate test coverage
run: |
poetry run pytest --cov
poetry run coverage xml
- 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 }}
continue-on-error: true