Skip to content

Ruff formater vol2 (#85) #6

Ruff formater vol2 (#85)

Ruff formater vol2 (#85) #6

Workflow file for this run

---
name: pytest
on:
push:
branches: [main]
pull_request:
jobs:
test:
name: GAP (${{ matrix.python-version }}, ${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
os: ["ubuntu-latest"]
python-version: ["3.9"]
defaults:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v4
- uses: mamba-org/setup-micromamba@v1
with:
# the create command looks like this:
# `micromamba create -n test-env python=3.9 -f environment.yml`
environment-file: environment.yml
environment-name: gha-test-env
cache-environment: true
create-args: >-
python=${{ matrix.python-version }}
- name: Basic install
run: ./install_gap.sh
- name: Test basic install
run: pytest
test-mace:
name: MACE (${{ matrix.python-version }}, ${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
os: ["ubuntu-latest"]
python-version: ["3.9"]
defaults:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v4
- uses: mamba-org/setup-micromamba@v1
with:
environment-file: environment_mace.yml
environment-name: gha-test-env
cache-environment: true
create-args: >-
python=${{ matrix.python-version }}
- name: MACE install
run: ./install_mace.sh
- name: Test MACE install
run: pytest