Skip to content

Build(deps): Bump torch from 1.11.0 to 2.2.0 #18

Build(deps): Bump torch from 1.11.0 to 2.2.0

Build(deps): Bump torch from 1.11.0 to 2.2.0 #18

Workflow file for this run

name: Build and Test with Mamba
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build_and_test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Micromamba
uses: mamba-org/setup-micromamba@v1
with:
micromamba-version: 'latest'
environment-file: environment.yaml
init-shell: >-
bash
cache-environment: true
post-cleanup: 'all'
- name: Install dependencies
run: |
micromamba run -n mattersim pip install -e .
- name: Install test dependencies
run: |
micromamba run -n mattersim pip install -e ".[dev]"
- name: Run tests
run: |
micromamba run -n mattersim pytest -s tests