Skip to content

build(deps-dev): bump the python-packages group across 1 directory with 6 updates #119

build(deps-dev): bump the python-packages group across 1 directory with 6 updates

build(deps-dev): bump the python-packages group across 1 directory with 6 updates #119

Workflow file for this run

name: Unstable Tests
on:
pull_request_target:
branches:
- main
types:
- opened
- synchronize
paths:
- '**.py'
- '**.json'
- 'tox.ini'
- '.github/workflows/maintests.yml'
- '.github/workflows/prtests.yml'
- '.github/workflows/release.yml'
- '.pre-commit-config.yaml'
- 'requirements.txt'
- 'requirements.dev.txt'
- 'requirements.docs.txt'
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Run pre-commit
uses: pre-commit/action@v3.0.0
with:
extra_args: --all-files
no_extra_fields:
env:
AIWORKER_CACHE_HOME: ${{ github.workspace }}/.cache
HORDELIB_CI_ONGOING: "1"
TESTS_ONGOING: "1"
runs-on: ubuntu-latest
strategy:
matrix:
python: ["3.10", "3.11"]
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: Install any required packages
run: |
python -m pip install --upgrade pip
pip install --upgrade -r requirements.dev.txt
- name: Run no_extra_fields check # Enabled by HORDELIB_CI_ONGOING
run: tox -e tests
build:
env:
AIWORKER_CACHE_HOME: ${{ github.workspace }}/.cache
TESTS_ONGOING: "1"
runs-on: ubuntu-latest
strategy:
matrix:
python: ["3.10", "3.11"]
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: Install tox and any other packages
run: |
python -m pip install --upgrade pip
pip install --upgrade -r requirements.dev.txt
- name: Run unit tests
run: tox -e tests