Skip to content

Commit

Permalink
Bump GitHub Actions dependencies (espressomd#4638)
Browse files Browse the repository at this point in the history
Description of changes:
- Bump all GitHub Actions dependencies to remove deprecation warnings about Node.js 12
- Update installation instructions to rely on `requirements.txt` when installing Python dependencies
  • Loading branch information
kodiakhq[bot] authored and jngrad committed Dec 23, 2022
1 parent 914b248 commit 6dbd9ce
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/actions/build_and_check/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ runs:
- run: |
brew install boost boost-mpi fftw
brew install hdf5-mpi
pip3 install numpy cython h5py scipy
pip3 install -c requirements.txt numpy cython h5py scipy
shell: bash
- run: |
export myconfig=maxset with_cuda=false test_timeout=800 with_asan=${{ inputs.asan }} with_ubsan=${{ inputs.ubsan }} check_skip_long=${{ inputs.check_skip_long }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ permissions:

jobs:
deploy_docs:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
if: github.repository == 'espressomd/espresso'
environment: deploy_documentation
steps:
- name: Install pandoc
uses: r-lib/actions/setup-pandoc@v1
uses: r-lib/actions/setup-pandoc@v2
- name: Setup SSH agent
uses: webfactory/ssh-agent@v0.5.2
uses: webfactory/ssh-agent@v0.7.0
with:
ssh-private-key: ${{ secrets.GH_PAGES_SSH_PRIVATE_KEY }}
- name: Checkout
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/push_pull.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ permissions:

jobs:
regular_check:
runs-on: macos-latest
runs-on: macos-12
if: github.event_name != 'schedule'
steps:
- name: Checkout
uses: actions/checkout@main
- name: Setup Python environment
uses: actions/setup-python@v2
uses: actions/setup-python@v4.3.1
with:
python-version: '3.8'
- name: Check without sanitizer
Expand All @@ -32,13 +32,13 @@ jobs:
contents: read # to fetch code (actions/checkout)
issues: write # to create an issue

runs-on: macos-latest
runs-on: macos-12
if: (github.event_name == 'schedule' && github.repository == 'espressomd/espresso')
steps:
- name: Checkout
uses: actions/checkout@main
- name: Setup Python environment
uses: actions/setup-python@v2
uses: actions/setup-python@v4.3.1
with:
python-version: '3.8'
- name: Check with sanitizer
Expand Down
8 changes: 3 additions & 5 deletions doc/sphinx/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,8 @@ To generate the Sphinx documentation, install the following packages:

.. code-block:: bash
pip3 install --user \
'sphinx>=2.3.0,!=3.0.0' \
'sphinxcontrib-bibtex>=2.4.1' \
'sphinx-toggleprompt==0.0.5'
pip3 install --user -c requirements.txt \
sphinx sphinxcontrib-bibtex sphinx-toggleprompt
To generate the Doxygen documentation, install the following packages:

Expand Down Expand Up @@ -282,7 +280,7 @@ Run the following commands:
doxygen gsl numpy scipy ipython jupyter
brew install hdf5-mpi
brew link --force cython
pip install PyOpenGL matplotlib
pip install -c requirements.txt PyOpenGL matplotlib
.. _Quick installation:

Expand Down

0 comments on commit 6dbd9ce

Please sign in to comment.