Skip to content

Commit

Permalink
Try new Pytest GitHub action
Browse files Browse the repository at this point in the history
  • Loading branch information
vkoves committed Mar 20, 2024
1 parent 315f607 commit ecbedb2
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/eslint.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
30 changes: 30 additions & 0 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit ecbedb2

Please sign in to comment.