Skip to content

Maxsibilla/issue 129 #89

Maxsibilla/issue 129

Maxsibilla/issue 129 #89

Workflow file for this run

name: Tests
on:
push:
branches:
- main
- dev-integrate
pull_request:
branches:
- main
- dev-integrate
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9]
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
submodules: 'true'
- 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
pip install -r src/requirements.txt
pip install -r src/routes/validation/ingest_validation_tools/requirements.in
- name: Setup test config file
run: |
mkdir ./test/temp
cp test/config/app.cfg src/instance/app.cfg
- name: Test with pytest
run: |
pytest -W ignore::DeprecationWarning