Need to convert string to int for timeout days #177
Workflow file for this run
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: SpackBot CI | |
on: | |
pull_request: [] | |
jobs: | |
formatting: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Check formatting | |
run: | | |
export PATH="/usr/share/miniconda/bin:$PATH" | |
pip install black flake8 | |
black --check --diff spackbot | |
flake8 spackbot | |
# Likely only maintainers will work on Spackbot | |
- name: Comment Pull Request | |
if: github.event_name == 'pull_request' && failure() | |
uses: marocchino/[email protected] | |
with: | |
message: 'Please format your code with [black](https://black.readthedocs.io): `black spackbot`.' | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
# TODO add tests here? |