Skip to content

Set upload_pr_documentation to run on ubuntu-22.04 #1158

Set upload_pr_documentation to run on ubuntu-22.04

Set upload_pr_documentation to run on ubuntu-22.04 #1158

Workflow file for this run

name: Run Tests
on: [pull_request]
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.7
uses: actions/setup-python@v5
with:
python-version: 3.8
- name: Install Python dependencies
run: |
pip install -e ".[all]"
pip install git+https://github.com/huggingface/transformers
- name: Run Tests
run: python -m pytest -n 1 --dist=loadfile -s -v ./tests/