-
Notifications
You must be signed in to change notification settings - Fork 388
49 lines (37 loc) · 1.06 KB
/
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
46
47
48
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"
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- run: ./scripts/cipublish
env:
QUAY_USER: ${{ secrets.QUAY_RASTERVISION_USER }}
QUAY_PASSWORD: ${{ secrets.QUAY_RASTERVISION_PASSWORD }}