Skip to content

Commit

Permalink
Update CI actions to remove warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre Delaunay committed Jan 23, 2023
1 parent 9cbd919 commit ac5a21c
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 26 deletions.
50 changes: 25 additions & 25 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- run: pip install pre-commit
- run: pre-commit --version
- run: pre-commit install
Expand All @@ -29,9 +29,9 @@ jobs:
toxenv: [pylint, doc8, docs]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python 3.9
uses: actions/setup-python@v2
uses: actions/setup-python@v3
with:
python-version: 3.9
- name: Install dependencies
Expand All @@ -45,7 +45,7 @@ jobs:
needs: pretest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
Expand All @@ -59,7 +59,7 @@ jobs:
mv build ..
cd ../../
- name: Set up Python 3.9
uses: actions/setup-python@v2
uses: actions/setup-python@v3
with:
python-version: 3.9
- name: Install dependencies
Expand Down Expand Up @@ -92,9 +92,9 @@ jobs:
env:
PLATFORM: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand All @@ -104,7 +104,7 @@ jobs:
- name: Test with tox (and all extra dependencies)
run: tox -e py-all -- --color=no
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v3
with:
file: ./coverage.xml
flags: unittests
Expand All @@ -123,10 +123,10 @@ jobs:
env:
PLATFORM: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand All @@ -138,7 +138,7 @@ jobs:
run: tox -e algo -- tests/unittests/algo/long/${{ matrix.algo }} --color=no

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v3
with:
file: ./coverage.xml
flags: unittests
Expand All @@ -150,9 +150,9 @@ jobs:
needs: [pre-commit, pretest]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3
- name: Set up Python 3.9
uses: actions/setup-python@v2
uses: actions/setup-python@v3
with:
python-version: 3.9
- name: Install dependencies
Expand All @@ -162,7 +162,7 @@ jobs:
- name: Test with tox
run: tox -e py -- --color=no
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v3
with:
file: ./coverage.xml
flags: unittests
Expand All @@ -173,9 +173,9 @@ jobs:
needs: [pre-commit, pretest]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3
- name: Set up Python 3.9
uses: actions/setup-python@v2
uses: actions/setup-python@v3
with:
python-version: 3.9
- name: Setup MongoDB
Expand All @@ -201,7 +201,7 @@ jobs:
- name: Test with tox
run: tox -e mongodb -- --color=no
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v3
with:
file: ./coverage.xml
flags: backward
Expand All @@ -218,9 +218,9 @@ jobs:
env:
ORION_DB_TYPE: ${{ matrix.orion_db_type }}
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3
- name: Set up Python 3.9
uses: actions/setup-python@v2
uses: actions/setup-python@v3
with:
python-version: 3.9
- name: Setup MongoDB
Expand All @@ -246,7 +246,7 @@ jobs:
- name: Test with tox
run: tox -e backward-compatibility -- --color=no
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v3
with:
file: ./coverage.xml
flags: backward
Expand All @@ -257,9 +257,9 @@ jobs:
needs: [test, backward-compatibility, test-long-algos, mongodb, test_no_extras, test-dashboard-build]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3
- name: Set up Python 3.9
uses: actions/setup-python@v2
uses: actions/setup-python@v3
with:
python-version: 3.9
- name: Install dependencies
Expand Down Expand Up @@ -341,9 +341,9 @@ jobs:
env:
ANACONDA_TOKEN: ${{ secrets.anaconda_token }}
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3
- name: Set up Python 3.9
uses: actions/setup-python@v2
uses: actions/setup-python@v3
with:
python-version: 3.9
- name: Build conda
Expand Down
2 changes: 1 addition & 1 deletion tests/unittests/benchmark/task/profet/test_profet_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def test_mock_load_data_fixture_when_real_data_available(
assert min_c <= real_c.min() and min_c <= fake_c.min()
assert real_c.max() <= max_c and fake_c.max() <= max_c

@pytest.mark.filterwarnings("Checkpoint file")
@pytest.mark.filterwarnings("ignore:Checkpoint file")
@pytest.mark.timeout(30)
@pytest.mark.parametrize("device_str", _devices)
def test_attributes(
Expand Down

0 comments on commit ac5a21c

Please sign in to comment.