Skip to content

Commit

Permalink
bump github action version (#573)
Browse files Browse the repository at this point in the history
* bump github action version

* pre-commit/action verstion bump

* update requirements-doc
  • Loading branch information
junpenglao authored Sep 27, 2023
1 parent a17be41 commit 8beec4d
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 21 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
matrix:
python-version: [ '3.10' ]
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Set up benchmark environment
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build_documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout the branch
uses: actions/checkout@v2.3.1
uses: actions/checkout@v3
with:
persist-credentials: false

- name: Set up Python 3.9
uses: actions/setup-python@v1
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: 3.11

- name: Build the documentation with Sphinx
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ jobs:
name: Build and publish on PyPi
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-python@v2
- uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Update pyproject.toml
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish_documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout the branch
uses: actions/checkout@v2.3.1
uses: actions/checkout@v3
with:
persist-credentials: false

- name: Set up Python 3.9
uses: actions/setup-python@v1
uses: actions/setup-python@v4
with:
python-version: 3.9

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ jobs:
name: Build and publish on PyPi
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Build sdist and wheel
Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up Python
uses: actions/setup-python@v1
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Give PyPI some time to update the index
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/schedule-meeting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
create-meeting-issue:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: JasonEtco/create-an-issue@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ jobs:
name: Check the code style
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.9
- uses: pre-commit/action@v2.0.0
- uses: pre-commit/action@v3.0.0

test:
name: Run tests for Python ${{ matrix.python-version }}
Expand All @@ -26,9 +26,9 @@ jobs:
matrix:
python-version: [ '3.9', '3.11']
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Set up test environment
Expand All @@ -40,7 +40,7 @@ jobs:
run: |
pytest -n auto -vv -m "not benchmark" --cov=blackjax --cov-report=xml --cov-report=term tests
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v3
with:
env_vars: OS,PYTHON
name: codecov-umbrella
Expand Down
2 changes: 1 addition & 1 deletion requirements-doc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
aeppl>=0.0.40
aesara>=2.8.8
arviz
astroid==2.15.8 # remove after https://github.com/executablebooks/MyST-NB/issues/543
flax
ipython
jax>=0.4.16
Expand All @@ -26,4 +27,3 @@ sphinxcontrib-bibtex
tensorflow-cpu
tfp-nightly[jax]
versioneer
watermark

1 comment on commit 8beec4d

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark 'Python Benchmark with pytest-benchmark'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 2.

Benchmark suite Current: 8beec4d Previous: 655c36b Ratio
tests/test_benchmarks.py::test_regression_hmc 0.03796976543910979 iter/sec (stddev: 0.21981032915003812) 0.0793071786328184 iter/sec (stddev: 0.4758808541120901) 2.09

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.