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:
|
||||
build:
|
||||
runs-on: self-hosted
|
||||
container:
|
||||
image: disagreement-image:latest
|
||||
options: --user runneruser
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.13'
|
||||
- name: Run Pyright
|
||||
run: pyright
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
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/
|
||||
- name: Run Tests
|
||||
run: pytest tests/
|
||||
|
Loading…
x
Reference in New Issue
Block a user