From 255d8aa81d6b2cde03a45035840a034735337598 Mon Sep 17 00:00:00 2001 From: John Burwell Date: Tue, 2 May 2023 20:51:25 -0500 Subject: [PATCH] attempt tests --- .gitea/workflows/build.yaml | 12 ------------ .gitea/workflows/test.yaml | 19 +++++++++++++++++++ 2 files changed, 19 insertions(+), 12 deletions(-) delete mode 100644 .gitea/workflows/build.yaml create mode 100644 .gitea/workflows/test.yaml diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml deleted file mode 100644 index d0fccbe..0000000 --- a/.gitea/workflows/build.yaml +++ /dev/null @@ -1,12 +0,0 @@ -# name: Gitea Actions Demo -# run-name: ${{ github.actor }} is testing out Gitea Actions 🚀 -# on: [push] -# jobs: -# Explore-Gitea-Actions: -# runs-on: ubuntu-latest -# steps: -# - name: Check out repository code -# uses: actions/checkout@v3 -# - name: List files in the repository -# run: | -# ls ${{ github.workspace }} \ No newline at end of file diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml new file mode 100644 index 0000000..35724b3 --- /dev/null +++ b/.gitea/workflows/test.yaml @@ -0,0 +1,19 @@ +name: Test +run-name: ${{ github.actor }} running tests +on: [push] +jobs: + Test: + runs-on: ubuntu-latest + steps: + - name: Check out repository code + uses: actions/checkout@v3 + - name: Install Python 3 + uses: actions/setup-python@v1 + with: + python-version: 3.10 + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install . + - name: Run tests + run: python -m unittest