[pre-commit.ci] pre-commit autoupdate #284
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: | |
push: | |
branches: | |
- "**" # matches every branch | |
- "!gh-pages" # excludes gh-pages branch | |
pull_request: | |
branches: | |
- master | |
- 1.7 | |
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-log | |
path: pytest.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-log | |
path: pytest.log | |
if-no-files-found: error |