Skip to content

Update sanity-suite.yml #10

Update sanity-suite.yml

Update sanity-suite.yml #10

Workflow file for this run

# This workflow will install Python dependencies, run tests with a single version of Python
name: Sanity Suite
on:
push:
branches: [ "develop" ]
pull_request:
branches: [ "develop" ]
permissions:
contents: read
jobs:
sanity:
name: Perform Sanity
runs-on: ubuntu-latest
env:
CC_TEST_REPORTER_ID: 795d51655a38f68d2a9b4caad660a28f0853d2c9583ef014bc1e8210bc53e896
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v3
with:
python-version: 3.11
- name: Setup Code Climate Test Reporter
run: |
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
chmod +x ./cc-test-reporter
- name: Install required dependencies
run: |
python -m pip install --upgrade poetry
poetry install --with=test
- name: Perform Sanity Tests
run: |
./cc-test-reporter before-build
poetry run pytest
./cc-test-reporter after-build --coverage-input-type coverage.py --exit-code $?