Skip to content

Fixed missing pipreqs issue #17

Fixed missing pipreqs issue

Fixed missing pipreqs issue #17

Workflow file for this run

name: Build and check image
on:
# Run the workflow for pushes to the main branch
push:
branches:
- main
# Run the workflow for pull requests (from forks or within the repo)
pull_request:
types:
- opened
- synchronize
- reopened
jobs:
verify-image-build:
runs-on: ubuntu-latest
steps:
- name: Checkout repo content
uses: actions/checkout@v2
- name: Create docker build mount directory
run: sudo mkdir -p /mnt/docker
- name: Maximize build space
uses: easimon/maximize-build-space@master
with:
root-reserve-mb: 4096
remove-dotnet: "true"
remove-android: "true"
remove-haskell: "true"
build-mount-path: "/mnt/docker"
- name: change docker default root path
run: |
docker info
docker info | grep "Docker Root"
sudo service docker stop
sudo sh -c 'echo "{ \"data-root\": \"/mnt/docker\" }" > /etc/docker/daemon.json'
sudo chmod 644 /etc/docker/daemon.json
sudo cat /etc/docker/daemon.json
sudo service docker start
docker info | grep "Docker Root"
- name: check disk space before image build
run: df -h
- name: ooil version
uses: docker://itisfoundation/ci-service-integration-library:v2.2.1
with:
args: ooil --version
- name: Assemble docker compose spec
uses: docker://itisfoundation/ci-service-integration-library:v2.2.1
with:
args: ooil compose
- name: Build all images if multiple
uses: docker://itisfoundation/ci-service-integration-library:v2.2.1
with:
args: docker compose build
- name: test Tensorflow
run: make run-tensorflow-local
- name: test PyTorch
run: make run-pytorch-local