Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update test-ci.yml #169

Merged
merged 3 commits into from
Jul 26, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions .github/workflows/test-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: ${{ env.PYTHON_VERSION }}
cache: pip

- name: Install Dependencies
shell: bash
Expand Down Expand Up @@ -179,7 +178,6 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: ${{ env.PYTHON_VERSION }}
cache: pip

- name: Restore cached brainweb-dl directory
uses: actions/cache/restore@v4
Expand Down Expand Up @@ -219,7 +217,7 @@ jobs:

- name: Upload coverage
if: success()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: coverage_data
path: coverage_plots
Expand All @@ -233,14 +231,13 @@ jobs:
uses: actions/checkout@v3

- name: Collect Coverages
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4

- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: ${{ env.PYTHON_VERSION }}
cache: pip


- name: add the coverage tool
shell: bash
run: |
Expand Down Expand Up @@ -281,7 +278,7 @@ jobs:
BuildDocs:
name: Build API Documentation
runs-on: gpu
if: ${{ contains(github.event.head_commit.message, 'docs_build')}} or ${{github.ref == 'refs/heads/master'}}
if: ${{ (contains(github.event.head_commit.message, 'docs_build')) || (github.ref == 'refs/heads/master')}}
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down Expand Up @@ -340,6 +337,7 @@ jobs:
with:
name: docs
path: docs_build
overwrite: true

- name: Get the badge from CI
uses: actions/download-artifact@v4
Expand Down
Loading