Skip to content

Add back in _pdbx_chem_comp_instance_depositor_info.PDB_ins_code as u… #153

Add back in _pdbx_chem_comp_instance_depositor_info.PDB_ins_code as u…

Add back in _pdbx_chem_comp_instance_depositor_info.PDB_ins_code as u… #153

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: CI
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
# branches: [ master ]
pull_request:
# branches: [ master ]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
with:
submodules: true
- name: Install dependencies
run: |
sudo apt-get clean
sudo apt-get install flex bison cmake
- name: Set up Python 3.x
uses: actions/setup-python@v2
with:
# Semantic version range syntax or exact version of a Python version
python-version: '3.10'
- name: Install python dependencies
run: python -m pip install --upgrade pip setuptools wheel
- name: Cache pip
uses: actions/cache@v2
with:
# This path is specific to Ubuntu
path: ~/.cache/pip
# Look to see if there is a cache hit for the corresponding requirements file
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
${{ runner.os }}-
- name: Install dependencies
run: pip install -r requirements.txt
- name: Insure dist up to date
run: make
- name: Configure regular expression testing
run: mkdir tests/regextest/build && cd tests/regextest/build && cmake ..
- name: build regextest support
run: cmake --build tests/regextest/build
- name: Run pytest
run: pytest