Skip to content

Commit

Permalink
only test for python 3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
rwood-97 committed Sep 4, 2024
1 parent 3ecc6d8 commit 25be652
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/mr_ci_text_spotting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,18 @@ jobs:
torchvision: "0.14.1"
- torch: "2.2.2"
torchvision: "0.17.2"
python-version: ["3.9", "3.12"]

env:
# point datasets to ~/.torch so it's cached by CI
DETECTRON2_DATASETS: ~/.torch/datasets
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Set up Python ${{ matrix.python-version }}
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
python-version: 3.9

- name: Update pip
run: |
Expand All @@ -40,7 +40,7 @@ jobs:
uses: actions/cache@v2
with:
path: |
${{ env.pythonLocation }}/lib/${{ matrix.python-version }}/site-packages
${{ env.pythonLocation }}/lib/python3.9/site-packages
~/.torch
key: ${{ runner.os }}-torch${{ matrix.torch }}-${{ hashFiles('setup.py') }}-20220119

Expand All @@ -59,6 +59,7 @@ jobs:
run: |
CC=clang CXX=clang++ python -m pip install 'git+https://github.com/facebookresearch/detectron2.git'
python -m detectron2.utils.collect_env
python -m pip install ".[dev]"
python -m pip install 'git+https://github.com/maps-as-data/DPText-DETR.git' # Install DPText-DETR
- name: Run unittests
Expand Down

0 comments on commit 25be652

Please sign in to comment.