Skip to content

Commit 19d5e7f

Browse files
committed
Fix tests by skipping one
1 parent 5aa4db0 commit 19d5e7f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/publish-to-test-pypi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
- name: Run tests
4646
run: |
4747
PYTHON_PATH=$(which python)
48-
sudo $PYTHON_PATH -m coverage run --source=. -m unittest discover tests/
48+
sudo -E $PYTHON_PATH -m coverage run --source=. -m unittest discover tests/
4949
- name: Gather coverage statistics
5050
if: ${{ always() }}
5151
run: |

tests/integration/test_snowsignal.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ async def test_fragmentation_sendreceive(self):
163163
# Mocking out the UDPRelayReceive has a primary purpose of letting us test that the fragments
164164
# are transmitted as expected, but it also serves to disable rebroadcasts and thus mitigate
165165
# the risk of a mini packet storm
166-
@unittest.skipIf(os.environ.get("GITHUB_ACTIONS", False), "GitHub Actions not supported")
166+
@unittest.skipIf(os.environ.get("GITHUB_ACTION", False), "GitHub Actions not supported")
167167
@patch("snowsignal.udp_relay_transmit.UDPRelayTransmit._packet_filter", 0x0003)
168168
@patch("snowsignal.udp_relay_transmit.UDPRelayTransmit.l2filter", return_value=True)
169169
@patch("snowsignal.udp_relay_receive.UDPRelayReceive.datagram_received")

0 commit comments

Comments
 (0)