Skip to content

fix DeprecationWarning: Conversion of an array with ndim > 0 to a sca… #81

fix DeprecationWarning: Conversion of an array with ndim > 0 to a sca…

fix DeprecationWarning: Conversion of an array with ndim > 0 to a sca… #81

Workflow file for this run

name: Build and test Docker image
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Cache Docker layers
uses: actions/cache@v4
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-
- name: Build Docker image
run: docker build --tag flygym:temp .
- name: Run tests inside Docker container
run: docker run --rm flygym:temp -c "pytest"