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