Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
adrien-berchet committed Apr 14, 2023
1 parent 023b740 commit a0f13b6
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/clang_format_check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: [pull_request, push]
jobs:
build:
name: clang-format-check
runs-on: ubuntu-18.04
runs-on: ubuntu-latest

# Run on external PRs, but not internal PRs as they'll be run by the push
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coverage_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ env:
jobs:
build:
name: coverage-test
runs-on: ubuntu-20.04
runs-on: ubuntu-latest

# Run on external PRs, but not internal PRs as they'll be run by the push
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
Expand Down
17 changes: 12 additions & 5 deletions .github/workflows/docstring_check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,25 @@ on: [pull_request, push]
jobs:
build:
name: docstring-check
runs-on: ubuntu-18.04
runs-on: ubuntu-latest

# Run on external PRs, but not internal PRs as they'll be run by the push
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository

steps:
- name: Fetch repository
- name: Checkout repository
uses: actions/checkout@v3
with:
submodules: recursive
- name: Install packages
run: sudo apt-get update && sudo apt-get install build-essential libhdf5-dev python3-venv libclang1-9
submodules: 'true'

- name: Setup python
uses: actions/setup-python@v4
with:
python-version: '3.10'

- name: Install packages on Linux
run: sudo apt-get update && sudo apt-get install build-essential libhdf5-dev

- name: Check docstrings
run: |
export LIBCLANG_PATH=/usr/lib/x86_64-linux-gnu/libclang-9.so.1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-sdist-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, macos-11, windows-2022]
os: [ubuntu-latest, macos-11, windows-2022]

steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit a0f13b6

Please sign in to comment.