Add comment about replacing pdp-base-minimal tag with new release onc… #564
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: Python CI | |
on: push | |
jobs: | |
# TODO: Either figure out how to do without this auxiliary container, | |
# or use workflow caching to avoid rebuilding this image each time. | |
build-image: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@master | |
- name: Publish to Registry | |
uses: docker/build-push-action@v1 | |
with: | |
username: ${{ secrets.pcicdevops_at_dockerhub_username }} | |
password: ${{ secrets.pcicdevops_at_dockerhub_password }} | |
dockerfile: ./docker/ci/Dockerfile | |
repository: pcic/pdp-ci | |
tags: latest | |
run-tests: | |
runs-on: ubuntu-20.04 | |
needs: build-image | |
container: | |
# Built in step above | |
image: pcic/pdp-ci:latest | |
steps: | |
- name: Test with pytest | |
run: | | |
cd ${USER_DIR} # Necessary because GitHub sets a weird pwd | |
pytest -m "not local_only and not crmpdb and not bulk_data" -v --tb=short tests/ |