Skip to content

Commit 28218d4

Browse files
committed
Test CI
1 parent e470c39 commit 28218d4

File tree

1 file changed

+49
-0
lines changed

1 file changed

+49
-0
lines changed

.github/workflows/wrap.yaml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: "Wrap"
2+
3+
on:
4+
push:
5+
branches: [ "**" ]
6+
pull_request:
7+
branches: [ "**" ]
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
13+
strategy:
14+
matrix:
15+
# Run in all these versions of Python
16+
python-version: ["3.10"]
17+
18+
steps:
19+
# Checkout the latest code from the repo
20+
- name: Checkout repo
21+
uses: actions/checkout@v2
22+
23+
# Setup which version of Python to use
24+
- name: Set Up Python ${{ matrix.python-version }}
25+
uses: actions/setup-python@v2
26+
with:
27+
python-version: ${{ matrix.python-version }}
28+
29+
# Display the Python version being used
30+
- name: Display Python version
31+
run: python -c "import sys; print(sys.version)"
32+
33+
# Update pip
34+
- name: Update pip
35+
run: python -m pip install --upgrade pip
36+
37+
# Install requirements.
38+
- name: Install requirements
39+
run: python -m pip install --upgrade -r requirements.txt
40+
41+
# Detect changed files
42+
- name: Changed Files Exporter
43+
uses: umani/changed-files@v3.3.0
44+
with:
45+
repo-token: ${{ github.token }}
46+
47+
# Wrap changed files
48+
- name: Wrap
49+
run: powrap ${{ files_updated }}

0 commit comments

Comments
 (0)