Skip to content

build

build #130

Workflow file for this run

name: build
on:
push:
pull_request:
schedule:
- cron: "49 5 * * 2" # Run at a random time weekly
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: ["3.12"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Setup conda and dependencies
run: |
util/setup_ci.sh ${{ matrix.python-version }}
- name: Test
run: |
eval "$(conda shell.bash hook)"
conda activate python${{ matrix.python-version }}
cd test
# Run a quick subset of all tests
python test.py Tests.test_canonical_mmcif Tests.test_non_canonical_mmcif