Skip to content

Commit d324a1e

Browse files
committed
testing github workflow tests
1 parent 038d84c commit d324a1e

File tree

2 files changed

+35
-123
lines changed

2 files changed

+35
-123
lines changed

.github/workflows/run_test.yaml

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: master-test
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
- ombott-dev
8+
pull_request:
9+
branches:
10+
- master
11+
12+
jobs:
13+
build:
14+
15+
runs-on: ubuntu-latest
16+
strategy:
17+
matrix:
18+
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
19+
20+
steps:
21+
- uses: actions/checkout@v2
22+
- name: Set up Python ${{ matrix.python-version }}
23+
uses: actions/setup-python@v2
24+
with:
25+
python-version: ${{ matrix.python-version }}
26+
- name: Install Everything
27+
run: |
28+
sudo apt-get install memcached libmemcached-tools
29+
python -m pip install --upgrade pip
30+
ls -l
31+
python -m pip install -e ./
32+
python -m pip install -r test-requirements.txt
33+
- name: Test
34+
run: |
35+
python3 -m pytest --cov=py4web --cov-report html:cov.html -v -s tests/

.travis.yml

-123
This file was deleted.

0 commit comments

Comments
 (0)