Skip to content

Commit

Permalink
Removed build part of workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasGLund99 committed Dec 11, 2023
1 parent 2cbbf67 commit 6bacf4a
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 55 deletions.
55 changes: 0 additions & 55 deletions .github/workflows/test-and-build.yml

This file was deleted.

29 changes: 29 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: test

on:
push:
branches: ["**"]

jobs:
test:
runs-on: ubuntu-latest

steps:
- name: Checkout Repository
uses: actions/checkout@v3

- name: Setup python
uses: actions/setup-python@v3
with:
python-version: 3.12.0

- name: Install dependencies
run: |
echo "Installing dependencies"
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run tests
run: |
echo "Testing..."
python -m unittest || exit 1

0 comments on commit 6bacf4a

Please sign in to comment.