@@ -19,54 +19,59 @@ jobs:
1919 run : npm run compodoc
2020
2121 - name : Deploy on pages
22- uses : peaceiris/actions-gh-pages@v3
22+ uses : peaceiris/actions-gh-pages@v4
2323 with :
2424 github_token : ${{ secrets.GITHUB_TOKEN }}
2525 publish_dir : doc/compodoc
2626 destination_dir : documentation
2727 force_orphan : true
2828
2929 test :
30- runs-on : ubuntu-latest
3130 strategy :
3231 fail-fast : false
3332 matrix :
3433 platform :
3534 - linux/amd64
36- # - linux/arm64 todo use arm64 chrome
35+ - linux/arm64
36+ os :
37+ - ubuntu-latest
38+ - [ self-hosted, Linux, ARM64 ]
39+ exclude :
40+ - platform : linux/arm64
41+ os : ubuntu-latest
42+ - platform : linux/amd64
43+ os : [ self-hosted, Linux, ARM64 ]
44+ runs-on : ${{ matrix.os }}
3745 steps :
3846 - name : Checkout repository files
3947 uses : actions/checkout@v4
4048
41- - name : Prepare Platform
42- run : |
43- platform=${{ matrix.platform }}
44- echo "PLATFORM_PAIR=${platform//\//-}" >> $GITHUB_ENV
45-
4649 - name : Set up QEMU
4750 uses : docker/setup-qemu-action@v3
4851
4952 - name : Set up Docker Buildx
5053 uses : docker/setup-buildx-action@v3
5154
52- - name : Get time of commit
53- run : echo "TIME=$(git log -1 --pretty=format:%ct)" >> $GITHUB_ENV
55+ - name : Run tests in Docker image
56+ uses : docker/build-push-action@v6
57+ with :
58+ platforms : ${{ matrix.platform }}
59+ context : ./
60+ file : ./build/Dockerfile
61+ builder : ${{ steps.buildx.outputs.name }}
62+ target : test
5463
55- - name : Run tests and upload coverage
64+ - name : Run tests with timezone
65+ if : ${{ matrix.platform == 'linux/amd64' }}
5666 uses : docker/build-push-action@v6
5767 with :
5868 platforms : ${{ matrix.platform }}
5969 context : ./
6070 file : ./build/Dockerfile
6171 builder : ${{ steps.buildx.outputs.name }}
62- target : builder
72+ target : test
6373 build-args : |
64- UPLOAD_COVERAGE=${{ true }}
65- GIT_COMMIT_SHA=${{ github.sha }}
66- GIT_BRANCH=master
67- GIT_COMMITTED_AT=${{ env.TIME }}
68- CC_TEST_REPORTER_ID=${{ secrets.CODE_CLIMATE_ID }}
69- BUILD=${{ false }}
74+ TZ=America/Detroit
7075
7176 pre-release :
7277 runs-on : ubuntu-latest
0 commit comments