0
0
mirror of https://github.com/lipis/flag-icons.git synced 2024-11-24 02:17:29 +01:00

Add git action for flags (#1005)

This commit is contained in:
Lipis 2022-06-21 10:52:19 +03:00 committed by GitHub
parent 8d34f78709
commit 82d2cf8b5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 0 deletions

16
.github/workflows/flags.yml vendored Normal file
View File

@ -0,0 +1,16 @@
name: Test Flags
on: pull_request
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4.0.0
with:
python-version: '3.x'
architecture: 'x64'
- name: Test flags
run: python flags.py

View File

@ -35,3 +35,5 @@ for code in country_codes:
if all_good:
print("All flag icons and country.json are in sync.")
exit(0)
exit(1)