TEST PR #19
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: Test Runner Unit Tests | |
on: | |
pull_request: | |
permissions: read-all | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
unit-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: docker/login-action@v3 | |
with: | |
registry: ${{ vars.REGISTRY }} | |
username: ${{ secrets.REGISTRY_USER }} | |
password: ${{ secrets.REGISTRY_TOKEN }} | |
- name: Install requirements | |
run: | | |
python -m venv venv | |
source venv/bin/activate | |
venv/bin/python -m pip install pytest hypothesis | |
venv/bin/python -m pip install -r requirements.txt | |
working-directory: ${{ github.workspace }}/test-runner | |
- name: Unit Test | |
run: venv/bin/python -m pytest tests/utest.py -W ignore::UserWarning | |
working-directory: ${{ github.workspace }}/test-runner | |
env: | |
REGISTRY: ${{ vars.REGISTRY }} |