chore: disable backend tests

This commit is contained in:
Timothy J. Baek 2024-07-05 23:54:03 -07:00
parent d5716ae751
commit e8ed48bd7a

View File

@ -43,7 +43,7 @@ jobs:
uses: cypress-io/github-action@v6 uses: cypress-io/github-action@v6
with: with:
browser: chrome browser: chrome
wait-on: "http://localhost:3000" wait-on: 'http://localhost:3000'
config: baseUrl=http://localhost:3000 config: baseUrl=http://localhost:3000
- uses: actions/upload-artifact@v4 - uses: actions/upload-artifact@v4
@ -67,27 +67,27 @@ jobs:
path: compose-logs.txt path: compose-logs.txt
if-no-files-found: ignore if-no-files-found: ignore
pytest: # pytest:
name: Run backend tests # name: Run Backend Tests
runs-on: ubuntu-latest # runs-on: ubuntu-latest
steps: # steps:
- uses: actions/checkout@v4 # - uses: actions/checkout@v4
- name: Set up Python # - name: Set up Python
uses: actions/setup-python@v4 # uses: actions/setup-python@v4
with: # with:
python-version: ${{ matrix.python-version }} # python-version: ${{ matrix.python-version }}
- name: Install dependencies # - name: Install dependencies
run: | # run: |
python -m pip install --upgrade pip # python -m pip install --upgrade pip
pip install -r backend/requirements.txt # pip install -r backend/requirements.txt
- name: pytest run # - name: pytest run
run: | # run: |
ls -al # ls -al
cd backend # cd backend
PYTHONPATH=. pytest . -o log_cli=true -o log_cli_level=INFO # PYTHONPATH=. pytest . -o log_cli=true -o log_cli_level=INFO
migration_test: migration_test:
name: Run Migration Tests name: Run Migration Tests