[Sweep GHA Fix] The GitHub Actions run failed with... #144
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: CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.7' | |
- name: Install dependencies | |
run: | | |
if grep -q "rdkit" requirements.txt; then | |
conda install -c rdkit rdkit | |
fi | |
python3 -m pip install --upgrade pip && python3 -m pip install -r requirements.txt | |
- name: Run tests | |
run: | | |
python -m unittest discover | |
- name: Check CI status | |
run: | | |
echo "CI status received from 'PolusAI/workflow-inference-compiler'" | |
if [ $? -ne 0 ]; then | |
echo "Error: Failed to receive CI status" | |
exit 1 | |
fi |