Use new task wrappers in task server #238
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: CI | |
on: | |
push: | |
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 }} |