File tree Expand file tree Collapse file tree 1 file changed +65
-0
lines changed Expand file tree Collapse file tree 1 file changed +65
-0
lines changed Original file line number Diff line number Diff line change
1
+ # This file is managed by 'repo_helper'. Don't edit it directly.
2
+ ---
3
+ name : ALT Linux
4
+
5
+ on :
6
+ push :
7
+ branches-ignore :
8
+ - ' repo-helper-update'
9
+ - ' pre-commit-ci-update-config'
10
+ - ' imgbot'
11
+ tags :
12
+ - ' *'
13
+ pull_request :
14
+
15
+ permissions :
16
+ actions : write
17
+ issues : write
18
+ contents : read
19
+
20
+ jobs :
21
+ tests :
22
+ name : " alt-linux / Python ${{ matrix.config.python-version }}"
23
+ runs-on : " ubuntu-20.04"
24
+ container :
25
+ image : ghcr.io/domdfcoding/alt-linux-python:latest
26
+ continue-on-error : ${{ matrix.config.experimental }}
27
+ env :
28
+ USING_COVERAGE : ' 3.10'
29
+
30
+ strategy :
31
+ fail-fast : False
32
+ matrix :
33
+ config :
34
+ - {python-version: "3.10", testenvs: "py310,build", experimental: False}
35
+
36
+ steps :
37
+ - name : Checkout 🛎️
38
+ uses : " actions/checkout@v3"
39
+
40
+ - name : " Configure"
41
+ run : git config --global --add safe.directory /__w/${{ github.event.repository.name }}/${{ github.event.repository.name }}
42
+
43
+ - name : Check for changed files
44
+ if : startsWith(github.ref, 'refs/tags/') != true
45
+ uses : dorny/paths-filter@v2
46
+ id : changes
47
+ with :
48
+ list-files : " json"
49
+ filters : |
50
+ code:
51
+ - '!(doc-source/**|CONTRIBUTING.rst|.imgbotconfig|.pre-commit-config.yaml|.pylintrc|.readthedocs.yml)'
52
+
53
+ - name : Install dependencies 🔧
54
+ id : setup-python
55
+ if : ${{ steps.changes.outputs.code == 'true' || steps.changes.outcome == 'skipped' }}
56
+ run : |
57
+ python3 -VV
58
+ python3 -m site
59
+ python3 -m pip install --upgrade pip setuptools wheel
60
+ python3 -m pip install --upgrade tox virtualenv!=20.16.0
61
+ python3 -m pip install --upgrade coverage_pyver_pragma
62
+
63
+ - name : " Run Tests for Python ${{ matrix.config.python-version }}"
64
+ if : steps.setup-python.outcome == 'success'
65
+ run : python3 -m tox -e "${{ matrix.config.testenvs }}" -s false
You can’t perform that action at this time.
0 commit comments