Skip to content

Commit d047499

Browse files
committed
Use GitHub Actions for unit testing on Arm arch.
The test runs on a docker container with QEMU. This also updates TagBot.yml.
1 parent 1e14ce6 commit d047499

File tree

3 files changed

+38
-17
lines changed

3 files changed

+38
-17
lines changed

.github/workflows/TagBot.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
name: TagBot
22
on:
3-
schedule:
4-
- cron: 0 * * * *
3+
issue_comment:
4+
types:
5+
- created
6+
workflow_dispatch:
57
jobs:
68
TagBot:
9+
if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
710
runs-on: ubuntu-latest
811
steps:
912
- uses: JuliaRegistries/TagBot@v1

.github/workflows/UnitTestArm.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Unit test for Arm
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
workflow_dispatch:
9+
jobs:
10+
test:
11+
runs-on: ${{ matrix.os }}
12+
strategy:
13+
fail-fast: false
14+
matrix:
15+
julia-version: ['1.0', '1', 'nightly']
16+
os: [ubuntu-20.04]
17+
distro: [ubuntu20.04]
18+
arch: [aarch64]
19+
20+
steps:
21+
- uses: actions/checkout@v2
22+
- uses: uraimo/run-on-arch-action@v1
23+
with:
24+
architecture: ${{ matrix.arch }}
25+
distribution: ${{ matrix.distro }}
26+
githubToken: ${{ github.token }}
27+
install: |
28+
python3 -m pip install jill --user
29+
python3 -m jill install ${{ matrix.julia-version }} --confirm --upstream Official
30+
ln -L /usr/bin/julia-latest /usr/bin/julia
31+
run: |
32+
julia --project=. --check-bounds=yes --color=yes -e 'using InteractiveUtils; versioninfo(); using Pkg; Pkg.build(); Pkg.test(coverage=true)'
33+
julia -e 'using Pkg; Pkg.add("Coverage"); using Coverage; Codecov.submit_local(process_folder())'

.travis.yml

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)