Skip to content

Bump pytest from 7.4.4 to 8.1.0 #26

Bump pytest from 7.4.4 to 8.1.0

Bump pytest from 7.4.4 to 8.1.0 #26

Workflow file for this run

name: Continuous integration
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install
run: |
python3 -m venv .env
source .env/bin/activate
python -m pip install -U pip
make install-dev
- name: Lint
run: |
source .env/bin/activate
make lint
tests:
runs-on: ubuntu-latest
strategy:
matrix:
model: ['openai_clip', 'open_clip', 'hf_clip', 'nm', 'ja_clip']
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.10
uses: actions/setup-python@v2
with:
python-version: '3.10'
- name: Install
run: |
python3 -m venv .env
source .env/bin/activate
make install
make install-dev
- name: Unit tests
run: |
source .env/bin/activate
python -m pytest -x -s -v tests -k ${{ matrix.model }}