Update workflows

Closes #132
This commit is contained in:
alstr 2022-10-27 12:32:17 +01:00
parent 216450e77f
commit bbe34634af
2 changed files with 18 additions and 2 deletions

16
.github/workflows/ci.yml vendored Normal file
View File

@ -0,0 +1,16 @@
name: "Run Tests"
on:
push:
pull_request:
jobs:
build:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v3"
- uses: "actions/setup-python@v4"
- name: "Install test dependencies"
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: "Run tests"
run: python -m pytest

View File

@ -1,4 +1,4 @@
name: "Workflow" name: "Run TODO to Issue"
on: on:
push: push:
workflow_dispatch: workflow_dispatch:
@ -13,7 +13,7 @@ jobs:
build: build:
runs-on: "ubuntu-latest" runs-on: "ubuntu-latest"
steps: steps:
- uses: "actions/checkout@master" - uses: "actions/checkout@v3"
- name: "TODO to Issue" - name: "TODO to Issue"
uses: "alstr/todo-to-issue-action@master" uses: "alstr/todo-to-issue-action@master"
id: "todo" id: "todo"