-
Notifications
You must be signed in to change notification settings - Fork 197
36 lines (32 loc) · 969 Bytes
/
tests.yml
File metadata and controls
36 lines (32 loc) · 969 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Tests
#############################
# Start the job on all push #
#############################
on: [push, pull_request]
jobs:
tests:
name: Python ${{ matrix.python-version }} Flask ${{ matrix.flask-version }}
runs-on: ubuntu-20.04
environment: test
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
flask-version: ["2.3.2", "3.0.0"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install --upgrade pip
pip install pipenv
python --version; pip --version; pipenv --version
pipenv run pip install flask==${{ matrix.flask-version }}
- name: Run tests
run: |
make check
make test
env:
RANDOM_SEED: 0