-
Notifications
You must be signed in to change notification settings - Fork 387
46 lines (34 loc) · 974 Bytes
/
release.yml
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
name: Release
on:
push:
branches:
- master
- "[0-9]+" # Major version only
- "[0-9]+.[0-9]+" # Major and minor version
- "[0-9]+.[0-9]+.[0-9]+" # Major, minor, and patch version
tags:
- "*"
jobs:
release:
name: release
runs-on: ubuntu-latest
strategy:
matrix:
image_type: [pytorch]
env:
DOCKER_BUILDKIT: 1
IMAGE_TYPE: ${{ matrix.image_type }}
steps:
- uses: actions/checkout@v4
- run: rm -rf /opt/hostedtoolcache
- run: ./scripts/cibuild
- run: docker system prune -f
- run: ./scripts/test "style_tests"
- run: ./scripts/test "unit_tests"
- run: ./scripts/test "integration_tests"
- run: ./scripts/test "coverage"
- uses: codecov/codecov-action@v3
- run: ./scripts/cipublish
env:
QUAY_USER: ${{ secrets.QUAY_RASTERVISION_USER }}
QUAY_PASSWORD: ${{ secrets.QUAY_RASTERVISION_PASSWORD }}