Skip to content

CI

CI #319

Workflow file for this run

name: CI
on:
push:
pull_request:
schedule:
- cron: '0 12 * * 1'
jobs:
build-linux:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
max-parallel: 5
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: 3.8 # Start with the earliest version
- name: Install dependencies
run: |
pip install -U pip setuptools
pip install -e.[globus,test]
- name: Start Redis
if: ${{ runner.os == 'Linux' }}
uses: supercharge/[email protected]
- name: Lint with flake8
run: |
flake8 colmena/
- name: Test with pytest
run: |
pytest --cov-config=.coveragerc --cov=colmena colmena/
- name: Coveralls
run: |
pip install coveralls
coveralls --service=github
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}