-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (42 loc) · 1.14 KB
/
ci.yml
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
44
name: CI
on: [push]
jobs:
main:
name: CI
strategy:
matrix:
include:
# - os: ubuntu-latest
# python: 3.8
# toxenv: py
- os: ubuntu-latest
python: 3.9
toxenv: py
- os: ubuntu-latest
python: "3.10"
toxenv: py
# - os: windows-latest
# python: 3.8
# toxenv: py
# - os: windows-latest
# python: 3.9
# toxenv: py
# - os: windows-latest
# python: "3.10"
# toxenv: py
- os: ubuntu-latest
python: "3.10"
toxenv: linters
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- id: "auth"
name: "Authenticate to Google Cloud"
uses: "google-github-actions/auth@v0"
with:
credentials_json: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- run: python -m pip install --upgrade setuptools pip tox==4.0.0b3 virtualenv
- run: tox -e ${{ matrix.toxenv }}