Skip to content

Commit

Permalink
test commit (#47)
Browse files Browse the repository at this point in the history
fixed tests and enabled protection of main branch
  • Loading branch information
AndGem committed Jun 8, 2024
1 parent ee10d2f commit 6df01ad
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/branch-verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,16 @@ name: Rust

on:
push:
branches: [ master ]
branches: [ main ]
pull_request:
branches: [ master ]
branches: [ main ]

env:
CARGO_TERM_COLOR: always

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
with:
Expand All @@ -25,9 +23,11 @@ jobs:
- name: Run MD5 check
run: |
target/debug/osm_extract_polygon -f data/suriname-latest.osm.pbf -g
md5sum data/suriname-latest.osm.pbf_polygons/Papaichton.geojson | cut -c1-32 | awk '$1!="174f26805ecca1d0271773a8a9aba067" {err = 1; exit; } END {exit err}'
echo $(md5sum data/suriname-latest.osm.pbf_polygons/Papaichton.geojson)
md5sum data/suriname-latest.osm.pbf_polygons/Papaichton.geojson | cut -c1-32 | awk '$1!="6554ec55b2f7a05cacb8fbe0df3199f2" {err = 1; exit; } END {exit err}'
md5sum data/suriname-latest.osm.pbf_polygons/Papaichton.poly | cut -c1-32 | awk '$1!="f017f2ca29051e1c9dea687a11f6175e" {err = 1; exit; } END {exit err}'
md5sum data/suriname-latest.osm.pbf_polygons/Maripasoula.geojson | cut -c1-32 | awk '$1!="2b2be0d389bd9cc23a5120c690a06027" {err = 1; exit; } END {exit err}'
echo $(md5sum data/suriname-latest.osm.pbf_polygons/Maripasoula.geojson)
md5sum data/suriname-latest.osm.pbf_polygons/Maripasoula.geojson | cut -c1-32 | awk '$1!="934f4d585799776d2f10ef608ad2103f" {err = 1; exit; } END {exit err}'
md5sum data/suriname-latest.osm.pbf_polygons/Maripasoula.poly | cut -c1-32 | awk '$1!="d7608f4bd631237a092b9a5777091340" {err = 1; exit; } END {exit err}'
- name: Push to codecov.io
env:
Expand Down

0 comments on commit 6df01ad

Please sign in to comment.