Skip to content

create triggers for modifying energy/hp; add method to extract CHK file from mpq #54

create triggers for modifying energy/hp; add method to extract CHK file from mpq

create triggers for modifying energy/hp; add method to extract CHK file from mpq #54

Workflow file for this run

name: pre-commit
on: [pull_request]
jobs:
pre-commit:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-14]
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pre-commit
- name: Run pre-commit
run: pre-commit run --all-files
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-14]
needs: pre-commit
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install src/ --upgrade
pip install pytest
- name: Run tests
run: pytest test/