mirror of
https://github.com/KimigaiiWuyi/GenshinUID.git
synced 2025-05-12 06:55:58 +08:00
🔥 remove workflows
This commit is contained in:
parent
8f77392ca6
commit
57948a5827
42
.github/workflows/unittest.yml
vendored
42
.github/workflows/unittest.yml
vendored
@ -1,42 +0,0 @@
|
||||
name: Unittest
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- nonebot2-beta1
|
||||
pull_request:
|
||||
|
||||
|
||||
jobs:
|
||||
test:
|
||||
name: Test
|
||||
strategy:
|
||||
matrix:
|
||||
version: ["3.8", "3.9", "3.10"]
|
||||
os: [ubuntu-latest, windows-latest]
|
||||
runs-on: ${{ matrix.os }}
|
||||
env:
|
||||
OS: ${{ matrix.os }}
|
||||
PYTHON_VERSION: ${{ matrix.python-version }}
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Install poetry
|
||||
run: pipx install poetry
|
||||
shell: bash
|
||||
|
||||
- uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: ${{ matrix.version }}
|
||||
architecture: "x64"
|
||||
cache: "poetry"
|
||||
|
||||
- name: Install dependencies
|
||||
run: poetry install --with test --without dev
|
||||
shell: bash
|
||||
|
||||
- name: Run Pytest
|
||||
run: |
|
||||
cd tests
|
||||
poetry run pytest
|
Loading…
x
Reference in New Issue
Block a user