Skip to content

Commit 9cee134

Browse files
authored
Merge pull request #1320 from Trusted-AI/development_ci
Update CI base images
2 parents ede9717 + 380aae5 commit 9cee134

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/ci-legacy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ on:
2020

2121
jobs:
2222
test:
23-
runs-on: ubuntu-16.04
23+
runs-on: ubuntu-20.04
2424
strategy:
2525
fail-fast: false
2626
matrix:

.github/workflows/ci-mxnet.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ on:
2020

2121
jobs:
2222
test:
23-
runs-on: ubuntu-16.04
23+
runs-on: ubuntu-18.04
2424
strategy:
2525
fail-fast: false
2626
matrix:

tests/attacks/test_hclu.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def test_GPy(self):
7373
self.assertGreater(clean_acc, adv_acc)
7474
# uncertainty should indeed be lower when used as a constraint
7575
# however, same as above, crafting might fail
76-
self.assertGreater(np.mean(unc_f > unc_o), 0.65)
76+
self.assertGreater(np.mean(unc_f > unc_o), 0.6)
7777

7878
# Check that x_test has not been modified by attack and classifier
7979
self.assertAlmostEqual(float(np.max(np.abs(x_test_original - self.x_test))), 0.0, delta=0.00001)

0 commit comments

Comments
 (0)