-
Notifications
You must be signed in to change notification settings - Fork 1
62 lines (58 loc) · 1.45 KB
/
minimal.yml
File metadata and controls
62 lines (58 loc) · 1.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
name: Minimal
on:
push:
branches:
- development
pull_request:
branches:
- main
- development
paths-ignore:
- '**.rst'
- '**.md'
- 'LICENSE'
- 'CITATION'
jobs:
windows:
name: "windows"
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install dependencies
run: |
pip3 install click
pip3 install -r requirements/core.txt
- name: Run setup
run: |
python3 setup.py install --user
- name: Run tests
run: |
python3 tests/container/create.py
ubuntu:
name: "ubuntu"
runs-on: ubuntu-latest
steps:
#- name: Login to Docker Hub
# run: |
# echo "::add-mask::${{secrets.DOCKER_HUB_PSK}}"
#- uses: docker/login-action@v1
# with:
# username: ${{ secrets.DOCKER_HUB_USERNAME }}
# password: ${{ secrets.DOCKER_HUB_PSK }}
- uses: actions/checkout@v2
- uses: akashdhruv/Maple/.github/actions/maple@main
- name: Build Container
run: |
maple image build boxkit
- uses: ./.github/actions/install
with:
image: boxkit
- name: Run BoxKit tests
run: |
maple container pour --image=boxkit
maple container execute "python3 tests/container/create.py"
maple container rinse
maple image delete boxkit