Skip to content

Guestinpt

Guestinpt #2

Workflow file for this run

name: SECRETSANTA-CI
on:
push:
branches: [main]
paths-ignore:
- '*.md'
- 'README*'
pull_request:
branches: [main]
paths-ignore:
- '*.md'
- 'README*'
jobs:
secretSanta:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ['3.10']
defaults:
run:
working-directory: ${{github.workspace}}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{matrix.python-version}}
- name: Install formatting dependencies
run: |
python -m pip install --upgrade pip
python -m pip install black
python -m pip install isort
python -m pip install codespell
- name: Formatting
run: |
source .github/linters/formatting.sh
format . true
- name: Install dependencies
run: |
pip install .
python -m pip install pytest
- name: Tests
run: |
cd tests
pytest -v -s --disable-warnings