This commit is contained in:
@@ -1,20 +1,19 @@
|
|||||||
name: CI
|
name: CI
|
||||||
|
|
||||||
on: [push, pull_request]
|
on: [push, pull_request]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: python:3.11-slim
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Setup Python
|
||||||
uses: actions/checkout@v4
|
run: |
|
||||||
|
python3 -m pip install --upgrade pip
|
||||||
|
python3 --version
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
pip install --upgrade pip
|
pip3 install -r requirements.txt
|
||||||
pip install -r requirements.txt
|
pip3 install pytest
|
||||||
pip install pytest
|
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: pytest tests/ -v
|
run: pytest3 tests/ -v
|
||||||
Reference in New Issue
Block a user