Skip to content

Workflow file for this run

name: Unit Testing
on:
push:
branches: '**'
pull_request:
branches: [ 'main', 'dev' ]
jobs:
test:
name: Run Unit Tests
runs-on: [ 'ubuntu-latest' ]
env:
AGENT_TOOLSDIRECTORY: /home/runner/actions-runner/_work/_tool/
defaults:
run:
shell: bash -el {0}
steps:
- name: Check out Git repository
uses: actions/checkout@v4
- name: Checkout LFS files
run: git lfs pull
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12.7'
cache: 'pip' # caching pip dependencies
cache-dependency-path: '**/requirements_full.txt'
token: ${{ secrets.QUARK_GH_GITHUB_COM_TOKEN }}
- name: Install Dependencies
run: pip install -r .settings/requirements_full.txt
- name: Run Unit Tests
<<<<<<< HEAD

Check failure on line 37 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/test.yml

Invalid workflow file

You have an error in your yaml syntax on line 37
env:
PYTHONWARNINGS: "ignore::DeprecationWarning"
=======
<<<<<<< HEAD
run: python -m unittest discover . > unittest_results.log
- name: Upload Test Logs
if: always()
uses: actions/upload-artifact@v4
with:
name: unittest-logs
path: unittest_results.log
=======
env:
PYTHONWARNINGS: "ignore::DeprecationWarning"
>>>>>>> b0f59db31eecccbd83b1de2508c3f0b2db5290c5
>>>>>>> GreshmaShaji-binpacking_and_mipsolver
run: python -m unittest discover .