Skip to content

Hot fix docker image build #676

Hot fix docker image build

Hot fix docker image build #676

name: GitHub Actions Unit Tests
on: [push, pull_request]
jobs:
free-disk-space:
runs-on: ubuntu-latest
steps:
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
# this might remove tools that are actually needed,
# if set to "true" but frees about 6 GB
tool-cache: false
# all of these default to true, but feel free to set to
# "false" if necessary for your workflow
android: true
dotnet: true
haskell: true
large-packages: true
docker-images: true
swap-storage: true
unit-tests:
runs-on: ubuntu-latest
# runs within your Docker container
container:
image: docker://geobaserepo/gdl-cuda11:v2.8.1
options: --user root
# checkout your code from your repository
# and runs pytest in your pipenv environment
steps:
- name: Install pipenv
run: |
pip install pipenv
- uses: actions/checkout@v2
- name: Test with pytest
run: |
pipenv run pytest tests/