Deploy on ghcr.io instead of dockerhub #85
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
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" | |