Cleaning and Improving database #341
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: 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 |