Update ci.yml
This commit is contained in:
parent
b5ee8dc408
commit
d0e55d3706
28
.github/workflows/ci.yml
vendored
28
.github/workflows/ci.yml
vendored
@ -22,24 +22,16 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
||||||
|
container:
|
||||||
|
image: disagreement-image:latest
|
||||||
|
options: --user runneruser
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Set up Python
|
- name: Run Pyright
|
||||||
uses: actions/setup-python@v5
|
run: pyright
|
||||||
with:
|
|
||||||
python-version: '3.13'
|
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Run Tests
|
||||||
run: |
|
run: pytest tests/
|
||||||
python -m pip install --upgrade pip
|
|
||||||
pip install -r requirements.txt
|
|
||||||
pip install -e .
|
|
||||||
npm install -g pyright
|
|
||||||
|
|
||||||
- name: Run Pyright
|
|
||||||
run: pyright
|
|
||||||
|
|
||||||
- name: Run tests
|
|
||||||
run: |
|
|
||||||
pytest tests/
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user