From 28c6dc6faff6b0df56427985288a676c631c7e8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emil=20Gardstr=C3=B6m?= Date: Tue, 5 Oct 2021 21:50:50 +0200 Subject: [PATCH] make bors checks much simpler --- .github/bors.toml | 44 +------------------------------------- .github/workflows/test.yml | 6 ++++++ 2 files changed, 7 insertions(+), 43 deletions(-) diff --git a/.github/bors.toml b/.github/bors.toml index 5f14937..24c0191 100644 --- a/.github/bors.toml +++ b/.github/bors.toml @@ -1,48 +1,6 @@ status = [ + "tests", "fuzz", - "test (stable, default)", "clippy", "fmt", - "test (stable, std proto-ipv4)", - "test (stable, std medium-ethernet phy-raw_socket proto-ipv6 socket-udp)", - "test (stable, std medium-ethernet phy-tuntap_interface proto-ipv6 socket-udp)", - "test (stable, std medium-ethernet proto-ipv4 proto-igmp socket-raw)", - "test (stable, std medium-ethernet proto-ipv4 socket-udp socket-tcp)", - "test (stable, std medium-ethernet proto-ipv4 proto-dhcpv4 socket-udp)", - "test (stable, std medium-ethernet proto-ipv6 socket-udp)", - "test (stable, std medium-ethernet proto-ipv6 socket-tcp)", - "test (stable, std medium-ethernet proto-ipv4 socket-icmp socket-tcp)", - "test (stable, std medium-ethernet proto-ipv6 socket-icmp socket-tcp)", - "test (stable, std medium-ethernet proto-ipv4 proto-ipv6 socket-raw socket-udp socket-tcp socket-i...", - "test (1.53.0, default)", - "test (1.53.0, std proto-ipv4)", - "test (1.53.0, std medium-ethernet phy-raw_socket proto-ipv6 socket-udp)", - "test (1.53.0, std medium-ethernet phy-tuntap_interface proto-ipv6 socket-udp)", - "test (1.53.0, std medium-ethernet proto-ipv4 proto-igmp socket-raw)", - "test (1.53.0, std medium-ethernet proto-ipv4 socket-udp socket-tcp)", - "test (1.53.0, std medium-ethernet proto-ipv4 proto-dhcpv4 socket-udp)", - "test (1.53.0, std medium-ethernet proto-ipv6 socket-udp)", - "test (1.53.0, std medium-ethernet proto-ipv6 socket-tcp)", - "test (1.53.0, std medium-ethernet proto-ipv4 socket-icmp socket-tcp)", - "test (1.53.0, std medium-ethernet proto-ipv6 socket-icmp socket-tcp)", - "test (1.53.0, std medium-ethernet proto-ipv4 proto-ipv6 socket-raw socket-udp socket-tcp socket-i...", - "test (nightly, default)", - "test (nightly, std proto-ipv4)", - "test (nightly, std medium-ethernet phy-raw_socket proto-ipv6 socket-udp)", - "test (nightly, std medium-ethernet phy-tuntap_interface proto-ipv6 socket-udp)", - "test (nightly, std medium-ethernet proto-ipv4 proto-igmp socket-raw)", - "test (nightly, std medium-ethernet proto-ipv4 socket-udp socket-tcp)", - "test (nightly, std medium-ethernet proto-ipv4 proto-dhcpv4 socket-udp)", - "test (nightly, std medium-ethernet proto-ipv6 socket-udp)", - "test (nightly, std medium-ethernet proto-ipv6 socket-tcp)", - "test (nightly, std medium-ethernet proto-ipv4 socket-icmp socket-tcp)", - "test (nightly, std medium-ethernet proto-ipv6 socket-icmp socket-tcp)", - "test (nightly, std medium-ethernet proto-ipv4 proto-ipv6 socket-raw socket-udp socket-tcp socket-...", - "test (nightly, alloc medium-ethernet proto-ipv4 proto-ipv6 socket-raw socket-udp socket-tcp socke...", - "check (stable, medium-ip medium-ethernet proto-ipv6 proto-ipv6 proto-igmp proto-dhcpv4 socket-raw...", - "check (stable, defmt defmt-trace medium-ip medium-ethernet proto-ipv6 proto-ipv6 proto-igmp proto...", - "check (1.53.0, medium-ip medium-ethernet proto-ipv6 proto-ipv6 proto-igmp proto-dhcpv4 socket-raw...", - "check (1.53.0, defmt defmt-trace medium-ip medium-ethernet proto-ipv6 proto-ipv6 proto-igmp proto...", - "check (nightly, medium-ip medium-ethernet proto-ipv6 proto-ipv6 proto-igmp proto-dhcpv4 socket-ra...", - "check (nightly, defmt defmt-trace medium-ip medium-ethernet proto-ipv6 proto-ipv6 proto-igmp prot...", ] diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1b4e33e..7df5416 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -6,6 +6,12 @@ on: name: Test jobs: + tests: + runs-on: ubuntu-20.04 + needs: [test, check] + steps: + - name: Done + run: exit 0 test: runs-on: ubuntu-20.04 continue-on-error: ${{ matrix.rust == 'nightly' }}