From 9b58cabbf3260b94c107a5c3f7690cd6493e92a6 Mon Sep 17 00:00:00 2001 From: Ryan Chard Date: Thu, 14 Dec 2023 07:21:17 +1300 Subject: [PATCH] Add dependabot and tox tests --- .github/dependabot.yml | 6 ++++++ .github/workflows/ci.yaml | 25 +++++++++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 .github/dependabot.yml create mode 100644 .github/workflows/ci.yaml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..8ac6b8c --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,6 @@ +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "monthly" diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..04ec240 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,25 @@ +name: CI/CD + +on: + push: + branches: + - "*" + tags: + - "*" + pull_request: + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-python@v4 + - name: install requirements + run: | + python -m pip install -U pip setuptools wheel + python -m pip install pre-commit tox + - name: run pre-commit + run: pre-commit run -a + - name: mypy (sdk) + run: | + tox -e mypy