Skip to content

Commit

Permalink
Create test.yml
Browse files Browse the repository at this point in the history
Setup testing workflow
  • Loading branch information
pipliggins committed Apr 29, 2024
1 parent 20ec796 commit 85ffe20
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@

name: tests

on:
pull_request:
branches:
- main
paths-ignore:
- "**.md"
- "docs/**"
push:
branches:
- main
paths-ignore:
- "**.md"
- "docs/**"

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Test with pytest
run: |
pytest

0 comments on commit 85ffe20

Please sign in to comment.