Skip to content

Commit 54ae95f

Browse files
committed
updated github ci
1 parent 83ffb33 commit 54ae95f

File tree

4 files changed

+61
-31
lines changed

4 files changed

+61
-31
lines changed

.cirrus.yml

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

.github/dependabot.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
2+
version: 2
3+
updates:
4+
- package-ecosystem: "github-actions"
5+
directory: "/" # Location of package manifests
6+
schedule:
7+
interval: "weekly"

.github/workflows/TagBot.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,22 @@ on:
44
types:
55
- created
66
workflow_dispatch:
7+
inputs:
8+
lookback:
9+
default: "3"
10+
permissions:
11+
actions: read
12+
checks: read
13+
contents: write
14+
deployments: read
15+
issues: read
16+
discussions: read
17+
packages: read
18+
pages: read
19+
pull-requests: read
20+
repository-projects: read
21+
security-events: read
22+
statuses: read
723
jobs:
824
TagBot:
925
if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'

.github/workflows/ci.yml

Lines changed: 38 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,47 @@
1-
name: Upload coverage reports to Codecov
2-
on: [push, pull_request]
1+
name: CI
2+
on:
3+
push:
4+
branches:
5+
- lumen-refactoring
6+
tags: ['*']
7+
pull_request:
8+
workflow_dispatch:
9+
concurrency:
10+
# Skip intermediate builds: always.
11+
# Cancel intermediate builds: only if it is a pull request build.
12+
group: ${{ github.workflow }}-${{ github.ref }}
13+
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
314
jobs:
4-
run:
5-
runs-on: ubuntu-latest
15+
test:
16+
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
17+
runs-on: ${{ matrix.os }}
18+
timeout-minutes: 60
19+
permissions: # needed to allow julia-actions/cache to proactively delete old caches that it has created
20+
actions: write
21+
contents: read
22+
strategy:
23+
fail-fast: false
24+
matrix:
25+
version:
26+
- '1'
27+
- 'lts'
28+
- 'pre'
29+
os:
30+
- ubuntu-latest
31+
arch:
32+
- x64
633
steps:
7-
- name: Checkout
8-
uses: actions/checkout@v2
9-
- name: Set up Julia 1.9.0
10-
uses: julia-actions/setup-julia@v1
34+
- uses: actions/checkout@v4
35+
- uses: julia-actions/setup-julia@v2
1136
with:
12-
version: "1.9.0"
37+
version: ${{ matrix.version }}
38+
arch: ${{ matrix.arch }}
39+
- uses: julia-actions/cache@v2
1340
- uses: julia-actions/julia-buildpkg@v1
1441
- uses: julia-actions/julia-runtest@v1
1542
- uses: julia-actions/julia-processcoverage@v1
1643
- uses: codecov/codecov-action@v5
1744
with:
45+
files: lcov.info
1846
token: ${{ secrets.CODECOV_TOKEN }}
19-
slug: aclai-lab/SoleModels.jl
20-
47+
fail_ci_if_error: false

0 commit comments

Comments
 (0)