Skip to content

Commit

Permalink
CI: update doctests, Julia versions, OscarCI
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin committed May 1, 2023
1 parent 95ebee8 commit 613b354
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/oscar.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
name: OscarCI

on:
push:
pull_request:
branches:
- master
pull_request:
push:
branches:
- master
workflow_dispatch:

concurrency:
# group by workflow and ref; the last slightly strange component ensures that for pull
Expand All @@ -28,7 +29,7 @@ jobs:
- name: "Set up Julia"
uses: julia-actions/setup-julia@v1
with:
version: '~1.6.0-0'
version: '~1.8.0-0'
- name: OscarDevTools - CI
if: github.repository == 'oscar-system/OscarDevTools.jl'
run: |
Expand Down Expand Up @@ -82,6 +83,7 @@ jobs:
Pkg.add(PackageSpec(name=\"OscarDevTools\",version=\"0.2\"));
Pkg.instantiate();"
- name: "Set up Oscar-dev configuration"
id: setupdev
env:
MATRIX_CONTEXT: ${{ toJSON(matrix) }}
run: |
Expand All @@ -99,11 +101,12 @@ jobs:
filename=\"${GITHUB_ENV}\");"
- name: "Run tests"
if: steps.setupdev.outputs.skiptests != 'true'
run: |
echo '${{ env.oscar_run_tests }}'
julia --project=oscar-dev/project/ -e '${{ env.oscar_run_tests }}'
- name: "Run doctests"
if: matrix.julia-version == '~1.6.0-0' || matrix.julia-version == '1.6'
if: steps.setupdev.outputs.skiptests != 'true' && (matrix.julia-version == '~1.8.0-0' || matrix.julia-version == '1.8')
run: |
echo '${{ env.oscar_run_doctests }}'
julia --project=oscar-dev/project/ -e '${{ env.oscar_run_doctests }}'
4 changes: 2 additions & 2 deletions OscarCI.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
title = "metadata for oscar CI run"

[env]
os = [ "ubuntu-latest" ]
julia-version = [ "~1.6.0-0"]
# os = [ "ubuntu-latest" ]
# julia-version = [ "~1.6.0-0"]
# branches = [ "release", "<matching>" ]

[pkgs]
Expand Down

0 comments on commit 613b354

Please sign in to comment.