Skip to content

Deploy on ghcr.io instead of dockerhub #82

Deploy on ghcr.io instead of dockerhub

Deploy on ghcr.io instead of dockerhub #82

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:
environment-file: environment.yml
environment-name: pdaltools # activate the environment
cache-environment: false
cache-downloads: false
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"