Skip to content

fix: fix classification test #84

fix: fix classification test

fix: fix classification test #84

Workflow file for this run

name: Tests
on:
push:
branches:
- '*'
pull_request:
branches:
- '*'
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
defaults:
run:
shell: bash
jobs:
dump-context:
runs-on: ubuntu-latest
steps:
- name: Dump context "GitHub"
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"
tests:
strategy:
matrix:
os: [ ubuntu-latest ]
python-version: [ '3.11', '3.12', '3.13', '3.14' ]
runs-on: ${{ matrix.os }}
steps:
- name: Check out the repository
uses: actions/checkout@v7
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v7
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install hatch pre-commit
hatch env create
- name: Lint and typecheck
run: |
hatch run lint:all
- name: Install Chrome browser
uses: browser-actions/setup-chrome@v2
with:
install-dependencies: true
install-chromedriver: true
- name: Check Chrome (for analysis in case of an error)
run: |
google-chrome --version || true
which google-chrome || true
- name: Run Tests
run: |
hatch test -m "not local"