Fix content extraction from JIRA with API v2 vs. v3 #1006
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: Python Unit Tests | |
on: | |
pull_request: | |
branches: [ main ] | |
jobs: | |
backend-check: | |
runs-on: ubuntu-latest | |
env: | |
PYTHONPATH: ./backend | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11' | |
cache: 'pip' | |
cache-dependency-path: | | |
backend/requirements/default.txt | |
backend/requirements/dev.txt | |
- name: Install Dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r backend/requirements/default.txt | |
pip install -r backend/requirements/dev.txt | |
- name: Run Tests | |
shell: script -q -e -c "bash --noprofile --norc -eo pipefail {0}" | |
run: py.test -o junit_family=xunit2 -xv --ff backend/tests/unit |