Skip to content

Fixing multiplicity analysis workflow #395

Fixing multiplicity analysis workflow

Fixing multiplicity analysis workflow #395

Workflow file for this run

name: Baseline test
on:
pull_request:
branches:
- master
- ml-dev
- run3
paths:
- "**.py"
push:
branches:
- master
- ml-dev
- run3
paths:
- "**.py"
jobs:
# A baseline test, independent of OS at the moment
baseline:
runs-on: ubuntu-latest
strategy:
max-parallel: 6
steps:
- uses: actions/checkout@v2
- name: Test copyright
if: github.event_name == 'push'
run: |
ci/run-tests.sh --tests copyright
- name: Test copyright
if: github.event_name == 'pull_request'
run: |
git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/*
changed_files="$(git diff --name-only origin/${{ github.base_ref }})"
ci/run-tests.sh --tests copyright --files $changed_files