Skip to content

Commit

Permalink
setting up some files for future testing
Browse files Browse the repository at this point in the history
  • Loading branch information
theburningbush committed Aug 2, 2024
1 parent c5f192e commit 9f1bc3d
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 39 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/pytests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: ci_testing

on:
push:
pull_request:

jobs:
run-tests:
name: Test Python
runs-on: [ubuntu-latest]

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"

- name: Install dependencies
run: python -m pip install pytest .

- name: Run tests
run: pytest
39 changes: 0 additions & 39 deletions .github/workflows/python-publish.yml

This file was deleted.

2 changes: 2 additions & 0 deletions tests/test_backup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Pytest tests

1 change: 1 addition & 0 deletions tests/test_notes.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Pytest

0 comments on commit 9f1bc3d

Please sign in to comment.