From 2d6d30a2d11704df48c4bb46b75243d582bcc4c8 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Sat, 3 Sep 2022 15:27:53 +0200 Subject: First commit --- .github/workflows/tests.yaml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/tests.yaml (limited to '.github/workflows/tests.yaml') diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml new file mode 100644 index 0000000..e8a3b6d --- /dev/null +++ b/.github/workflows/tests.yaml @@ -0,0 +1,27 @@ +name: Run the tests +on: + push: + branches: + - master + pull_request: + branches: + - master +jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: CERT-Polska/lint-python-action@v1 + with: + source: karton/ + unittest: + runs-on: ubuntu-latest + strategy: + matrix: + minor: [8, 9, 10] + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-python@v1 + with: + python-version: 3.${{ matrix.minor }} + - run: pip install -r requirements.txt + - run: python -m unittest discover -- cgit v1.3