Skip to content

Merge pull request #14 from Parzival1918/force_fields_plotting #31

Merge pull request #14 from Parzival1918/force_fields_plotting

Merge pull request #14 from Parzival1918/force_fields_plotting #31

Workflow file for this run

name: Python tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
strategy:
fail-fast: false
matrix:
python-version: [3.11]
poetry-version: [1.5.1]
runs-on: ubuntu-latest
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 poetry ${{ matrix.poetry-version }}
run: |
python -m ensurepip
python -m pip install --upgrade pip
python -m pip install poetry==${{ matrix.poetry-version }}
- name: View poetry --help
run: poetry --help
- name: Install dependencies
shell: bash
run: python -m poetry install
- name: Test with pytest
run: |
python -m poetry run python -m pytest -v tests