Update CI #8
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: Continuous Integration Workflow | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
- dev | |
pull_request: | |
branches: | |
- master | |
- dev | |
jobs: | |
main: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Install Poetry | |
run: | | |
pipx install poetry | |
poetry config virtualenvs.in-project true | |
- name: Set Up Python | |
uses: actions/setup-python@v5 | |
with: | |
cache: poetry | |
cache-dependency-path: poetry.lock | |
- name: Install Dependencies | |
run: poetry install --no-root --no-interaction | |
- name: Lint | |
run: poetry run ruff check bias_scan | |
- name: Test | |
run: poetry run pytest | |
--color=yes | |
--full-trace | |
--showlocals | |
--verbose |