Skip to content

chore(deps): bump fish-shop/install-fish-shell from 1.0.36 to 1.0.37 #332

chore(deps): bump fish-shop/install-fish-shell from 1.0.36 to 1.0.37

chore(deps): bump fish-shop/install-fish-shell from 1.0.36 to 1.0.37 #332

Workflow file for this run

name: Python tests
on:
pull_request:
push:
branches:
- main
jobs:
python-tests:
runs-on: ubuntu-latest
strategy:
matrix:
# https://devguide.python.org/versions
python-version: ["3.9", "3.10", "3.11", "3.12"]
permissions:
pull-requests: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install requirements
run: |
pip install -r .devcontainer/requirements-dev.txt
- name: Run tests
run: |
coverage run --branch --include="src/fish_ai/*.py" -m pytest
coverage xml
coverage report
- name: Report code coverage
if: github.event.pull_request.user.login != 'dependabot[bot]' && github.event.pull_request.user.login != 'pre-commit-ci[bot]'
uses: orgoro/coverage@v3.2
with:
coverageFile: coverage.xml
token: ${{ secrets.GITHUB_TOKEN }}
results:
if: ${{ always() }}
runs-on: ubuntu-latest
name: Python test results
needs: [python-tests]
steps:
- run: |
result="${{ needs.python-tests.result }}"
if [[ $result == "success" || $result == "skipped" ]]; then
exit 0
else
exit 1
fi