diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..440ed22 --- /dev/null +++ b/.github/workflows/ci.yml @@ -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 \ No newline at end of file diff --git a/.github/workflows/workflow.yml b/.github/workflows/todo.yml similarity index 92% rename from .github/workflows/workflow.yml rename to .github/workflows/todo.yml index c400a5c..096ba41 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/todo.yml @@ -1,4 +1,4 @@ -name: "Workflow" +name: "Run TODO to Issue" on: push: workflow_dispatch: @@ -13,7 +13,7 @@ jobs: build: runs-on: "ubuntu-latest" steps: - - uses: "actions/checkout@master" + - uses: "actions/checkout@v3" - name: "TODO to Issue" uses: "alstr/todo-to-issue-action@master" id: "todo"