This repository has been archived by the owner on Aug 25, 2024. It is now read-only.
operations: innersource: collector: Support lookup of repository clon… #4893
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: "Alice: Tests" | |
on: | |
push: | |
branches: | |
- alice | |
paths-ignore: | |
- 'docs/arch/**' | |
pull_request: | |
paths-ignore: | |
- 'docs/arch/**' | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
max-parallel: 100 | |
matrix: | |
plugin: | |
- entities/alice | |
python-version: | |
- "3.9" | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Checkout full upstream repo | |
run: | | |
git remote set-url origin https://github.com/intel/dffml | |
git fetch --prune --unshallow | |
git fetch --depth=1 origin +refs/tags/*:refs/tags/* | |
git config --global user.email "[email protected]" | |
git config --global user.name "DFFML CI/CD" | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Test | |
run: | | |
set -x | |
export GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} | |
export PYTHON=python${{ matrix.python-version }} | |
export PLUGIN=${{ matrix.plugin }} | |
export LOGGING=debug | |
export PATH="${HOME}/.local/bin:${PATH}" | |
./.ci/run.sh "${PLUGIN}" | |
if [ "x${PLUGIN}" = "x." ]; then | |
CODECOV_TOKEN=${{ secrets.CODECOV_TOKEN }} codecov | |
fi |