File tree Expand file tree Collapse file tree 1 file changed +49
-0
lines changed
Expand file tree Collapse file tree 1 file changed +49
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Package build test (dockerized centos)
2+
3+ on :
4+ # pull_request:
5+ # types: [opened, synchronize, reopened]
6+ # push:
7+ # branches:
8+ # - '**'
9+ # paths-ignore:
10+ # - '.github/workflows/**'
11+ workflow_dispatch :
12+
13+ jobs :
14+ test-package-build-centos :
15+ if : github.event_name == 'pull_request' || github.event.pull_request == null
16+ strategy :
17+ matrix :
18+ centos_version : [9, 10]
19+ runs-on : ubuntu-latest
20+ container :
21+ image : quay.io/centos/centos:stream${{ matrix.centos_version }}-minimal
22+ steps :
23+ - name : Checkout code
24+ uses : actions/checkout@v4
25+ with :
26+ token : ${{ secrets.GITHUB_TOKEN }}
27+
28+ - name : Install system dependencies
29+ run : |
30+ dnf update -y
31+ dnf install -y python3 python3-pip git make
32+
33+ - name : Setup Open Edison
34+ uses : ./.github/actions/setup
35+
36+ - name : Install Node.js and npm
37+ uses : actions/setup-node@v4
38+ with :
39+ node-version : ' 20'
40+ cache : ' npm'
41+ cache-dependency-path : frontend/package-lock.json
42+
43+ - name : Build package
44+ run : make build_package
45+
46+ - name : Test package build with uvx
47+ run : |
48+ cd /
49+ uvx --refresh --from "${{ github.workspace }}/" open-edison --help
You can’t perform that action at this time.
0 commit comments