Skip to content

Commit

Permalink
change gh action
Browse files Browse the repository at this point in the history
  • Loading branch information
sergargar committed Dec 12, 2022
1 parent c9373e3 commit fac0230
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pipenv
pipenv install --dev
pipenv run pip list
pip install .
- name: Lint with flake8
run: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def test_ec2_default_snapshots(self):
result = check.execute()

# Default snapshots
assert len(result) == 1433
assert len(result) == 1485

@mock_ec2
def test_ec2_public_snapshot(self):
Expand Down Expand Up @@ -61,7 +61,7 @@ def test_ec2_public_snapshot(self):
results = check.execute()

# Default snapshots + 1 created
assert len(results) == 1434
assert len(results) == 1486

for snap in results:
if snap.resource_id == snapshot.id:
Expand Down Expand Up @@ -97,7 +97,7 @@ def test_ec2_private_snapshot(self):
results = check.execute()

# Default snapshots + 1 created
assert len(results) == 1434
assert len(results) == 1486

for snap in results:
if snap.resource_id == snapshot.id:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def test_ec2_default_snapshots(self):
result = check.execute()

# Default snapshots
assert len(result) == 1433
assert len(result) == 1485

@mock_ec2
def test_ec2_unencrypted_snapshot(self):
Expand All @@ -55,7 +55,7 @@ def test_ec2_unencrypted_snapshot(self):
results = check.execute()

# Default snapshots + 1 created
assert len(results) == 1434
assert len(results) == 1486

for snap in results:
if snap.resource_id == snapshot.id:
Expand Down Expand Up @@ -91,7 +91,7 @@ def test_ec2_encrypted_snapshot(self):
results = check.execute()

# Default snapshots + 1 created
assert len(results) == 1434
assert len(results) == 1486

for snap in results:
if snap.resource_id == snapshot.id:
Expand Down

0 comments on commit fac0230

Please sign in to comment.