diff options
author | Astound <kirito@disroot.org> | 2024-07-15 10:39:00 +0800 |
---|---|---|
committer | Astound <kirito@disroot.org> | 2024-07-15 10:39:00 +0800 |
commit | 4e327944a0cf5ae7571e7231854c8e6cb169cc53 (patch) | |
tree | cad9e881cb5d795897cdaea459056d3ee9ce3f7b | |
parent | 09a437f7fb2fa62a3a1fe3a9bade92371a99ca10 (diff) | |
download | yt-local-4e327944a0cf5ae7571e7231854c8e6cb169cc53.tar.lz yt-local-4e327944a0cf5ae7571e7231854c8e6cb169cc53.tar.xz yt-local-4e327944a0cf5ae7571e7231854c8e6cb169cc53.zip |
Add CI
-rw-r--r-- | .gitea/workflows/ci.yaml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml new file mode 100644 index 0000000..d27f068 --- /dev/null +++ b/.gitea/workflows/ci.yaml @@ -0,0 +1,23 @@ +name: CI + +on: [push, pull_request] + +jobs: + test: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: 3.11 + + - name: Install dependencies + run: | + pip install --upgrade pip + pip install -r requirements-dev.txt + + - name: Run tests + run: pytest |