Skip to content

Update GH actions

Update GH actions #180

Workflow file for this run

# 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