From d6fd5e45428ba7ddb5c113fab3c9836b25c99e13 Mon Sep 17 00:00:00 2001 From: Martin Eigenmann Date: Sun, 8 Sep 2024 20:27:30 +0200 Subject: [PATCH] ci: adds devcontainer --- .devcontainer/devcontainer.json | 9 +++++++++ .github/workflows/tests.yml | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 .devcontainer/devcontainer.json diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..d9aeca2 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,9 @@ +{ + "image": "mcr.microsoft.com/devcontainers/base:focal", + "features": { + "ghcr.io/devcontainers/features/python:1": { + "version": "3.12", + "toolsToInstall": "poetry, pre-commit" + } + } +} diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 80e551e..4040808 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -29,6 +29,6 @@ jobs: poetry run coverage run test.py poetry run coverage xml - name: 'Upload coverage to Codecov' - uses: codecov/codecov-action@v2 + uses: codecov/codecov-action@v4 with: fail_ci_if_error: true