mirror of
https://github.com/google-deepmind/alphafold3.git
synced 2025-10-20 13:23:47 +08:00
Create basic Github CI
PiperOrigin-RevId: 704444012
This commit is contained in:
38
src/alphafold3/.github/workflows/ci.yaml
vendored
Normal file
38
src/alphafold3/.github/workflows/ci.yaml
vendored
Normal file
@ -0,0 +1,38 @@
|
||||
name: Continuous Integration
|
||||
|
||||
on:
|
||||
# Trigger the workflow on push or pull request, only on the main branch.
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: "build ${{ matrix.name-prefix }} (py ${{ matrix.python-version }} on ${{ matrix.os }})"
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
include:
|
||||
- name-prefix: "all tests"
|
||||
python-version: '3.11'
|
||||
os: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
sudo apt-get install -y hmmer
|
||||
pip install --upgrade pip
|
||||
pip install -r dev-requirements.txt
|
||||
pip install --no-deps .
|
||||
build_data
|
||||
- name: Run CPU-only tests
|
||||
run: |
|
||||
python run_alphafold_data_test.py
|
Reference in New Issue
Block a user