From 371b8ebb5c701026efc3a6a9913e339037b961a6 Mon Sep 17 00:00:00 2001 From: andersonfrailey Date: Thu, 27 May 2021 14:28:04 -0400 Subject: [PATCH] Add GitHub Actions --- .github/workflows/test.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 00000000..80c81467 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,27 @@ +name: Test data + +on: [push, pull_request] + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + python-version: [3.6] + steps: + - name: checkout + uses: actions/checkout@master + with: + persist-credentials: false + + - name: Setup Miniconda using Python ${{ matrix.python-version }} + uses: conda-incubator/setup-miniconda@v2 + with: + activate-environment: taxdata-dev + environment-file: environment.yml + python-version: ${{ matrix.python-version }} + auto-activate-base: false + + - name: Test + shell: bash -l {0} + run: pytest -m "not requires_pufcsv" \ No newline at end of file