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
Abe Coull committed Jan 22, 2024
1 parent 52b2c42 commit 6ff7229
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/build-py-reqs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Python package

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:
- 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 6ff7229

Please sign in to comment.