build #145
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: | |
push: | |
pull_request: | |
schedule: | |
- cron: "22 12 * * 6" # 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@v3 | |
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_mmcif |