Skip to content
This repository has been archived by the owner on Aug 6, 2024. It is now read-only.

Merge pull request #142 from pyiron/dependabot/pip/spglib-2.1.0 #472

Merge pull request #142 from pyiron/dependabot/pip/spglib-2.1.0

Merge pull request #142 from pyiron/dependabot/pip/spglib-2.1.0 #472

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Python package
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: [ubuntu-latest, windows-latest, macos-latest]
python-version: ['3.11']
include:
- operating-system: ubuntu-latest
python-version: 3.9
- operating-system: ubuntu-latest
python-version: '3.10'
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2.2.0
with:
python-version: ${{ matrix.python-version }}
mamba-version: "*"
channels: conda-forge
channel-priority: strict
auto-update-conda: true
environment-file: .ci_support/environment.yml
miniforge-variant: Mambaforge
- name: Setup
shell: bash -l {0}
run: |
python .ci_support/pyironconfig.py
pip install --no-deps .
- name: Tests
shell: bash -l {0}
run: coverage run --omit pyiron_gpl/_version.py -m unittest discover tests