Skip to content

Commit 14600b3

Browse files
committed
correction global
1 parent 96f955f commit 14600b3

45 files changed

Lines changed: 887 additions & 555 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ark-self-build.yml

Lines changed: 0 additions & 214 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 23 additions & 92 deletions
Original file line numberDiff line numberDiff line change
@@ -1,109 +1,40 @@
1-
name: CI
1+
name: CI PyCompiler_ARK
22

33
on:
44
push:
5-
branches: [main, develop, develop2]
5+
branches: [ main ]
66
pull_request:
7-
branches: [main, develop, develop2]
8-
workflow_dispatch:
7+
branches: [ main ]
98

109
jobs:
1110
lint:
12-
name: Lint
1311
runs-on: ubuntu-latest
1412
steps:
15-
- name: Checkout repository
16-
uses: actions/checkout@v4
17-
18-
- name: Set up Python 3.12
19-
uses: actions/setup-python@v5
13+
- uses: actions/checkout@v4
14+
- uses: actions/setup-python@v5
2015
with:
21-
python-version: "3.12"
22-
cache: pip
23-
cache-dependency-path: requirements.txt
24-
25-
- name: Upgrade pip
26-
run: python -m pip install --upgrade pip
27-
28-
- name: Install lint dependencies
29-
run: python -m pip install -r requirements.txt
30-
31-
- name: Ruff
32-
run: ruff check .
33-
34-
- name: Black
35-
run: black --check .
16+
python-version: '3.12'
17+
- run: pip install ruff black
18+
- run: ruff check .
19+
- run: black --check .
3620

37-
tests:
38-
name: Tests (${{ matrix.os }}, py${{ matrix.python-version }})
39-
needs: lint
40-
runs-on: ${{ matrix.os }}
41-
strategy:
42-
fail-fast: false
43-
matrix:
44-
os: [ubuntu-latest, windows-latest]
45-
python-version: ["3.12", "3.13"]
46-
env:
47-
QT_QPA_PLATFORM: offscreen
21+
test:
22+
runs-on: ubuntu-latest
4823
steps:
49-
- name: Checkout repository
50-
uses: actions/checkout@v4
51-
52-
- name: Set up Python ${{ matrix.python-version }}
53-
uses: actions/setup-python@v5
24+
- uses: actions/checkout@v4
25+
- uses: actions/setup-python@v5
5426
with:
55-
python-version: ${{ matrix.python-version }}
56-
cache: pip
57-
cache-dependency-path: requirements.txt
58-
59-
- name: Upgrade pip
60-
run: python -m pip install --upgrade pip
61-
62-
- name: Install test dependencies
63-
run: python -m pip install -r requirements.txt
64-
65-
- name: Run pytest
66-
run: python -m pytest -q tests
27+
python-version: '3.12'
28+
- run: pip install -r requirements.txt
29+
- run: pytest -q
6730

6831
smoke:
69-
name: Smoke (${{ matrix.os }}, py${{ matrix.python-version }})
70-
needs: tests
71-
runs-on: ${{ matrix.os }}
72-
strategy:
73-
fail-fast: false
74-
matrix:
75-
os: [ubuntu-latest, windows-latest]
76-
python-version: ["3.12", "3.13"]
77-
env:
78-
QT_QPA_PLATFORM: offscreen
32+
runs-on: ubuntu-latest
7933
steps:
80-
- name: Checkout repository
81-
uses: actions/checkout@v4
82-
83-
- name: Set up Python ${{ matrix.python-version }}
84-
uses: actions/setup-python@v5
34+
- uses: actions/checkout@v4
35+
- uses: actions/setup-python@v5
8536
with:
86-
python-version: ${{ matrix.python-version }}
87-
cache: pip
88-
cache-dependency-path: requirements.txt
89-
90-
- name: Upgrade pip
91-
run: python -m pip install --upgrade pip
92-
93-
- name: Install runtime dependencies
94-
run: python -m pip install -r requirements.txt
95-
96-
- name: Smoke CLI help
97-
run: python -m pycompiler_ark --help
98-
99-
- name: Smoke version
100-
run: python -m pycompiler_ark --version
101-
102-
- name: Smoke system info
103-
run: python -m pycompiler_ark --info
104-
105-
- name: Smoke engines dry-run
106-
run: python -m pycompiler_ark engines --dry-run
107-
108-
- name: Smoke source compilation
109-
run: python -m py_compile pycompiler_ark.py
37+
python-version: '3.12'
38+
- run: python pycompiler_ark.py doctor --json
39+
- run: python pycompiler_ark.py engine list --json
40+
- run: python pycompiler_ark.py workspace apply . --strict --json

0 commit comments

Comments
 (0)