Skip to content

Merge pull request #477 from N720720/476-memory-optimization-using-ov… #1343

Merge pull request #477 from N720720/476-memory-optimization-using-ov…

Merge pull request #477 from N720720/476-memory-optimization-using-ov… #1343

Workflow file for this run

name: build
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.9","3.10","3.11"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
run: pipx install poetry
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'poetry'
- name: Install Ubuntu-specific dependencies
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -y libgl1-mesa-dev
- name: Install dependencies
run: |
poetry config virtualenvs.in-project true
poetry install
- name: Run safety checks
run: make check-safety
env:
STRICT: 1
- name: Run style checks
run: make check-style
env:
STRICT: 1
- name: Run tests
run: |
make test
automerge:
needs: build
runs-on: ubuntu-latest
steps:
- uses: fastify/github-action-merge-dependabot@v2.5.0
with:
github-token: ${{secrets.GITHUB_TOKEN}}