-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #47 from warwickmm/run_data_tests
Add workflow to run data tests
- Loading branch information
Showing
2 changed files
with
35 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Data Tests | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
duplicate_entries: | ||
name: Duplicate entries | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
|
||
steps: | ||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.x | ||
|
||
- name: Check out data | ||
uses: actions/[email protected] | ||
with: | ||
path: data | ||
|
||
- name: Check out data tests | ||
uses: actions/[email protected] | ||
with: | ||
repository: openelections/openelections-data-tests | ||
ref: v0.1.0 | ||
path: data_tests | ||
|
||
- name: Run data tests | ||
run: python3 ${{ github.workspace }}/data_tests/run_tests.py duplicate_entries ${{ github.workspace }}/data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
# openelections-data-az [![Build Status](https://github.com/openelections/openelections-data-az/actions/workflows/format_tests.yml/badge.svg?branch=master)](https://github.com/openelections/openelections-data-az/actions) | ||
[![Build Status](https://github.com/openelections/openelections-data-az/actions/workflows/data_tests.yml/badge.svg?branch=master)](https://github.com/openelections/openelections-data-az/actions/workflows/data_tests.yml?query=branch%3Amaster) | ||
[![Build Status](https://github.com/openelections/openelections-data-az/actions/workflows/format_tests.yml/badge.svg?branch=master)](https://github.com/openelections/openelections-data-az/actions/workflows/format_tests.yml?query=branch%3Amaster) | ||
|
||
# openelections-data-az | ||
Pre-processed election results for Arizona |