Skip to content

Commit

Permalink
add a workflow ci
Browse files Browse the repository at this point in the history
  • Loading branch information
calmacx committed Sep 26, 2023
1 parent 314a5da commit d4626d8
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Pytest

on: [push]
# push:
# branches:
# - main # Modify this branch name as needed
# pull_request:
# branches:
# - main # Modify this branch name as needed

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.8

- name: Install dependencies
run: |
pip install -r requirements.txt
- name: Run pytest
run: |
cd hdr_schemata/tests/
pytest

0 comments on commit d4626d8

Please sign in to comment.