Make the test flake8 compliant #196
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
# SPDX-FileCopyrightText: 2017 Fermi Research Alliance, LLC | |
# SPDX-License-Identifier: Apache-2.0 | |
--- | |
name: Test in EL7/EL8 container | |
on: | |
pull_request: | |
branches: | |
- master | |
push: | |
branches: | |
- "**" # matches every branch | |
- "!gh-pages" # excludes gh-pages branch | |
jobs: | |
pytest_el7: | |
if: ${{ github.ref == 'refs/heads/1.7' }} | |
runs-on: ubuntu-latest | |
name: A job to test the decision engine framework on EL7 | |
timeout-minutes: 30 | |
steps: | |
- name: Checkout code tree | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Run the tests in a container (SL7/HEPCloud-CI) | |
uses: ./.github/actions/python-command-in-sl7-container | |
- name: Archive logs | |
uses: actions/upload-artifact@v2 | |
with: | |
name: test-el7-log | |
path: pytest_el7.log | |
if-no-files-found: error | |
pytest_el8: | |
if: ${{ false }} # temporary disable this job | |
runs-on: ubuntu-latest | |
name: A job to test the decision engine framework on EL8 | |
timeout-minutes: 30 | |
steps: | |
- name: Checkout code tree | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Run the tests in a container (EL8/HEPCloud-CI) | |
uses: ./.github/actions/python-command-in-el8-container | |
- name: Archive logs | |
uses: actions/upload-artifact@v2 | |
with: | |
name: test-el8-log | |
path: pytest_el8.log | |
if-no-files-found: error |