Skip to content

Commit 1e33872

Browse files
authored
Merge pull request #2 from huntdatacenter/diepirio-patch-2
Create dev.yml
2 parents 4e5f487 + 1203ef6 commit 1e33872

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.github/workflows/dev.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Testing package
2+
3+
on:
4+
push:
5+
branches: '*'
6+
pull_request:
7+
branches: '*'
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v3
15+
with:
16+
ref: ${{ github.event.release.tag_name }}
17+
- name: Install Python
18+
uses: actions/setup-python@v4
19+
with:
20+
python-version: '3.10'
21+
# architecture: 'x64'
22+
23+
- name: Setup pip cache
24+
uses: actions/cache@v3
25+
with:
26+
path: ~/.cache/pip
27+
key: ${{ runner.os }}-pip-3.10-${{ hashFiles('package.json') }}
28+
restore-keys: |
29+
${{ runner.os }}-pip-3.10-
30+
- name: Build extension package
31+
run: |
32+
python3 -m pip install hatch
33+
34+
hatch build

0 commit comments

Comments
 (0)