-
Notifications
You must be signed in to change notification settings - Fork 1
43 lines (42 loc) · 1.02 KB
/
run_tests.yaml
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
37
38
39
40
41
42
43
name: check
env:
INSTAGRAM_USERNAME: ${{ secrets.INSTAGRAM_USERNAME }}
INSTAGRAM_SESSION: ${{ secrets.INSTAGRAM_SESSION_JSON }}
on:
push:
branches:
- main
- master
pull_request:
jobs:
test:
name: test with ${{ matrix.py }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
py:
- "3.12"
# - "3.11"
#- "3.10"
os:
- ubuntu-latest
#- macos-latest
#- windows-latest
steps:
- uses: actions/checkout@v3
with:
lfs: 'true'
fetch-depth: 0
- name: Setup python for test ${{ matrix.py }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.py }}
- uses: FedericoCarboni/setup-ffmpeg@v3
id: setup-ffmpeg
- name: Install tox
run: python -m pip install tox-gh>=1.3
- name: Setup test suite
run: tox -vv --notest
- name: Run test suite
run: tox --skip-pkg-install