Skip to content

[pre-commit.ci] pre-commit autoupdate #310

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #310

Workflow file for this run

name: Testing - main
on: [push, pull_request]
jobs:
build:
strategy:
max-parallel: 20
matrix:
os: [ubuntu-latest, macos-latest]
python-version: ["3.9", "3.10"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install --upgrade pip
pip install --quiet -r requirements.txt -r requirements-ci.txt
pip install -e .
- name: pytest
run: |
pytest m3gnet --color=yes