Update dependency setuptools to v70 [SECURITY] #240
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI Test | |
on: [push, pull_request] | |
jobs: | |
ci-test: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.11' | |
- name: Install Poetry | |
uses: snok/install-poetry@v1 | |
with: | |
virtualenvs-create: false | |
virtualenvs-in-project: false | |
version: 1.8.3 | |
- name: Install poetry and dependencies | |
# TODO: remove workaround for https://github.com/pytorch/pytorch/issues/100974 once torch upgraded. | |
run: | | |
sudo apt-get -yq update && sudo apt-get install -yq libnvidia-compute-535-server nvidia-cuda-dev | |
git submodule init && \ | |
git submodule update && \ | |
poetry config virtualenvs.create false && \ | |
poetry install && \ | |
for i in torch torchvision ; do poetry run pip install --no-cache-dir "$i"=="$(grep $i\\s pyproject.toml | grep -Eo '\"[0-9\.]+' | sed 's/\"//g')" || exit 1 ; done | |
python -c 'import torch' && \ | |
python -c 'import rfml.annotation_utils as annotation_utils' && \ | |
poetry run black . --check --force-exclude torchsig | |
- name: Run e2e test | |
run: | | |
mkdir -p testdata && DATA=$(realpath testdata) PYTHON=$(which python3) ./utils/end_to_end_siggen.sh |