Skip to content

Extra nonetype check #506

Extra nonetype check

Extra nonetype check #506

Workflow file for this run

name: roz_unit_tests
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.12"]
services:
rabbitmq:
image: rabbitmq
ports:
- 5672:5672
- 5671:5671
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install 'pytest' 'moto[server]<=4.2.14'
- name: Install Varys
run: python3 -m pip install varys-client
- name: Install Onyx-client
run: python3 -m pip install climb-onyx-client
- name: Install Roz
run: python3 -m pip install -e .
- name: Test with pytest
run: |
pytest tests/
- name: "Upload S3 Matcher Logfile"
uses: actions/upload-artifact@v4
with:
name: s3-matcher-logfile-${{ matrix.python-version }}
path: tests/s3_matcher.log
retention-days: 5
if: ${{ always() }}
- name: "Upload Test Messages Logfile"
uses: actions/upload-artifact@v4
with:
name: test-messages-logfile-${{ matrix.python-version }}
path: tests/test_messages.log
retention-days: 5
if: ${{ always() }}
- name: "Upload Ingest Logfile"
uses: actions/upload-artifact@v4
with:
name: roz-ingest-logfile-${{ matrix.python-version }}
path: tests/ingest.log
retention-days: 5
if: ${{ always() }}
- name: "Upload Mscape Validation Logfile"
uses: actions/upload-artifact@v4
with:
name: mscape-validation-logfile-${{ matrix.python-version }}
path: tests/mscape_validation.log
retention-days: 5
if: ${{ always() }}
- name: "Upload Pathsafe Validation Logfile"
uses: actions/upload-artifact@v4
with:
name: pathsafe-validation-logfile-${{ matrix.python-version }}
path: tests/pathsafe_validation.log
retention-days: 5
if: ${{ always() }}
- name: "Upload test utils logfile"
uses: actions/upload-artifact@v4
with:
name: test-utils-logfile-${{ matrix.python-version }}
path: tests/test_utils.log
retention-days: 5
if: ${{ always() }}