Skip to content

2D Convolutional Autoencoder #47

2D Convolutional Autoencoder

2D Convolutional Autoencoder #47

Workflow file for this run

name: CI
on:
push:
branches:
- main
workflow_dispatch: {}
pull_request:
types: [opened, synchronize]
branches:
- main
jobs:
docker-image:
uses: ./.github/workflows/docker.yml
api-doc:
uses: ./.github/workflows/sphinx.yml
linux:
runs-on: ubuntu-latest
needs: [docker-image]
container:
image: ghcr.io/llnl/gplasdi/gplasdi_env:latest
options: --user 1001 --privileged
volumes:
- /mnt:/mnt
steps:
- name: Cancel previous runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
# - name: Set Swap Space
# uses: pierotofy/set-swap-space@master
# with:
# swap-size-gb: 10
- name: Check out LaSDI
uses: actions/checkout@v3
- name: Build LaSDI
run: |
cd ${GITHUB_WORKSPACE}
pip install .
- name: Test CNN2D
run: |
pytest -vrx tests/test_CNN2D.py