Skip to content

Commit

Permalink
feat: add a workflow to build the requirements files
Browse files Browse the repository at this point in the history
  • Loading branch information
AbeCoull authored Jan 22, 2024
2 parents 5390ba6 + 81984ef commit 19fddcb
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/build-py-reqs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Build requirements

on:
push:
branches:
- main
pull_request:
branches:
- main
- feature/**

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
path: ["base/jobs/docker/1.0/py3/requirements.txt", "pytorch/jobs/docker/2.0/py3/requirements.txt", "tensorflow/jobs/docker/2.13/py3/requirements.txt"]
steps:
- uses: actions/checkout@v3
- name: setup python
uses: actions/setup-python@v4
with:
python-version: '3.10' # install the python version needed

- name: Install dependencies
run: |
pip install -r ${{ matrix.path }}

0 comments on commit 19fddcb

Please sign in to comment.