Added test action
Some checks failed
Tests / test (3.10) (push) Failing after 50s
Tests / test (3.11) (push) Failing after 48s
Tests / test (3.9) (push) Failing after 47s

This commit is contained in:
Profitroll 2024-03-29 20:47:51 +01:00
parent bea36ba75c
commit 03a74a8943
Signed by: profitroll
GPG Key ID: FA35CAB49DACD3B2

View File

@ -0,0 +1,32 @@
name: Tests
on:
push:
branches:
- dev
- main
tags-ignore:
- v*
pull_request:
jobs:
test:
runs-on: ubuntu-latest
container: catthehacker/ubuntu:act-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
env:
AGENT_TOOLSDIRECTORY: /opt/hostedtoolcache
- name: Install dependencies
run: |
python -m pip install -r requirements.txt
- name: Test the build
run: mkdocs build