Skip to content

Merging tmqm branch #90

Merging tmqm branch

Merging tmqm branch #90

Workflow file for this run

name: test
on:
push:
branches: ["main"]
tags: ["*"]
pull_request:
branches:
- "*"
- "!gh-pages"
schedule:
- cron: "0 4 * * MON"
jobs:
test:
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10"]
os: ["ubuntu-latest"]
runs-on: ${{ matrix.os }}
timeout-minutes: 30
defaults:
run:
shell: bash -l {0}
name: |
os=${{ matrix.os }}
- python=${{ matrix.python-version }}
steps:
- name: Checkout the code
uses: actions/checkout@v3
- name: Setup mamba
uses: mamba-org/setup-micromamba@v1
with:
environment-file: env.yml
environment-name: openqdc
cache-environment: true
cache-downloads: true
create-args: >-
python=${{ matrix.python-version }}
- name: Install library
run: python -m pip install --no-deps .
- name: Run tests
run: pytest
- name: Test building the doc
run: mkdocs build