Skip to content

[feature] support dockerhub audit logs #37

[feature] support dockerhub audit logs

[feature] support dockerhub audit logs #37

Workflow file for this run

name: Automatic unit tests
on: [pull_request]
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Python 3.12
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install dependencies
run: |
pip install -r requirements.txt
pip install responses
pip install pytest
pip install pytest-cov
- name: Run tests
run: PYTHONPATH=. pytest --cov-report term-missing --cov=src tests/UnitTests/test_*.py
- name: Run dockerhub e2e tests
env:
DOCKERHUB_USER: ${{ secrets.DOCKERHUB_USER }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_PASSWORD }}
LOGZIO_SHIPPING_TOKEN: ${{ secrets.LOGZIO_SHIPPING_TOKEN }}
LOGZIO_API_TOKEN: ${{ secrets.LOGZIO_API_TOKEN }}
run: PYTHONPATH=. pytest --cov-report term-missing --cov=src src/apis/dockerhub/test_e2e_dockerhub.py