Skip to content

Deploy on ghcr.io instead of dockerhub #86

Deploy on ghcr.io instead of dockerhub

Deploy on ghcr.io instead of dockerhub #86

Workflow file for this run

name: cicd_light
on:
# Run tests for non-draft pull request on dev
pull_request:
branches:
- dev
jobs:
docker_build_and_test:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout branch
uses: actions/checkout@v4
# See https://github.com/marketplace/actions/setup-micromamba
- name: setup-micromamba
uses: mamba-org/[email protected]
with:
micromamba-version: '1.5.1' # temporary fix as setup-mircomamba ahngs with later mamba version
environment-file: environment.yml
environment-name: pdaltools # activate the environment
cache-environment: false
cache-downloads: false
log-level: info
generate-run-shell: true
- name: Run tests with pytest
shell: micromamba-shell {0}
run: python -m pytest ./test -s --log-cli-level DEBUG -m "not geopf"