Skip to content

added Armstrong general #383

added Armstrong general

added Armstrong general #383

Workflow file for this run

name: Data Tests
on: [push, pull_request]
jobs:
data_tests:
name: Data tests
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
test: [duplicate_entries, file_format, missing_values, vote_breakdown_totals]
env:
LOG_FILE: ${{ github.workspace }}/${{ matrix.test }}.txt
steps:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.x
- name: Check out data
uses: actions/checkout@v3
with:
path: data
- name: Check out data tests
uses: actions/checkout@v3
with:
repository: openelections/openelections-data-tests
ref: v2.2.0
path: data_tests
- name: Run data tests
run: python3 ${{ github.workspace }}/data_tests/run_tests.py --group-failures --log-file=${{ env.LOG_FILE }} ${{ matrix.test }} ${{ github.workspace }}/data
- name: Upload artifacts
uses: actions/upload-artifact@v3
if: failure()
with:
name: ${{ matrix.test }}_full_logs
path: ${{ env.LOG_FILE }}