Add Internal SNFG engine #4
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: Wheels | |
on: | |
pull_request: | |
branches: | |
- master | |
jobs: | |
run_tests: | |
name: Run Python tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
- name: Install Clang | |
run: sudo apt-get install -y clang | |
- name: Set environment variables for Clang | |
run: | | |
export CC=$(which clang) | |
export CXX=$(which clang++) | |
echo $CC | |
echo $CXX | |
clang --version | |
clang++ --version | |
- name: Get sources | |
run: | | |
./get_sources | |
working-directory: ./package | |
- name: Install NucleoFind | |
run: pip install . | |
working-directory: ./package | |
- name: Install pytest | |
run: pip install pytest | |
- name: Run tests | |
run : pytest tests | |
working-directory: ./package | |
debug: | |
needs: [run_tests] | |
runs-on: ubuntu-latest | |
if: ${{ failure() }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Notify chat | |
uses: teknatha136/actions-google-chat-text-message@main | |
with: | |
google-chat-webhook: ${{ secrets.WEBHOOK_URL }} | |
text-message: ${{ github.actor }} attempted to merge a change into Sails, but this PR failed testing. Link ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} \n |