diff --git a/.github/workflows/eslint.yml b/.github/workflows/eslint.yml index 540abbae..eca608b7 100644 --- a/.github/workflows/eslint.yml +++ b/.github/workflows/eslint.yml @@ -1,7 +1,3 @@ -# This workflow uses actions that are not certified by GitHub. -# They are provided by a third-party and are governed by -# separate terms of service, privacy policy, and support -# documentation. # ESLint is a tool for identifying and reporting on patterns # found in ECMAScript/JavaScript code. # More details at https://github.com/eslint/eslint diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml new file mode 100644 index 00000000..6fe0f2d7 --- /dev/null +++ b/.github/workflows/pytest.yml @@ -0,0 +1,30 @@ +# A GitHub action to run our data tests + +name: Pytest Data Tests + +on: + push: + branches: [ "main" ] + pull_request: + # The branches below must be a subset of the branches above + branches: [ "main" ] + +jobs: + pytest: + name: 'Pytest' + runs-on: ubuntu-latest + description: 'Run Pytest for Data Test' + steps: + - uses: actions/checkout@v4 + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: '3.x' + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt + - name: Test with pytest + run: | + pip install + pytest \ No newline at end of file