Skip to content

Add fliplr & flipud #653

Add fliplr & flipud

Add fliplr & flipud #653

Workflow file for this run

name: gcc-docker
on:
push:
# Publish `master` as Docker `latest` image.
branches:
- master
# Publish `v1.2.3` tags as releases.
tags:
- v*
# Run tests for any PRs.
pull_request:
env:
IMAGE_NAME: nmtools
jobs:
# Run tests.
# See also https://docs.docker.com/docker-hub/builds/automated-testing/
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run tests
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
run: |
ci_env=`bash <(curl -s https://codecov.io/env)`
if [ -f docker-compose.test.yml ]; then
docker-compose --file docker-compose.test.yml build
docker-compose --file docker-compose.test.yml run sut
else
docker build . --file docker/gcc.dockerfile --tag $IMAGE_NAME
docker run $ci_env $IMAGE_NAME
fi