diff --git a/.github/workflows/test_and_deploy.yml b/.github/workflows/test_and_deploy.yml index 7ea60a56..f56b2f0c 100644 --- a/.github/workflows/test_and_deploy.yml +++ b/.github/workflows/test_and_deploy.yml @@ -65,11 +65,11 @@ jobs: python-version: ${{ matrix.python-version }} use-xvfb: true - # Run cellfinder tests to make sure cellfinder is still compatible - # with cellfinder-core - test_cellfinder: + # Run brainglobe-workflows cellfinder-CLI tests to check for + # breakages + test_cellfinder_cli: needs: [linting, manifest] - name: Run cellfinder tests + name: Run cellfinder CLI to check for breakages runs-on: ubuntu-latest steps: - name: Cache tensorflow model @@ -78,10 +78,10 @@ jobs: path: "~/.cellfinder" key: models-${{ hashFiles('~/.cellfinder/**') }} - - name: Checkout cellfinder + - name: Checkout brainglobe-workflows uses: actions/checkout@v3 with: - repository: 'brainglobe/cellfinder' + repository: 'brainglobe/brainglobe-workflows' - name: Set up Python 3.10 uses: actions/setup-python@v3 @@ -91,18 +91,18 @@ jobs: - name: Install test dependencies run: | python -m pip install --upgrade pip wheel - # Install latest SHA on this cellfinder-core branch + # Install latest SHA on this cellfinder branch python -m pip install git+$GITHUB_SERVER_URL/$GITHUB_REPOSITORY@$GITHUB_SHA - # Install checked out copy of cellfinder + # Install checked out copy of brainglobe-workflows python -m pip install .[dev] - - name: Run cellfinder tests + - name: Run cellfinder CLI test from brainglobe-workflows run: | - python -m pytest --color=yes -v + python -m pytest --color=yes -v tests/cellfinder build_sdist_wheel: name: Build source distribution and wheel - needs: [test, test_cellfinder] + needs: [test, test_cellfinder_cli] if: github.event_name == 'push' && github.ref_type == 'tag' runs-on: ubuntu-latest steps: