Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: update doctests, Julia versions, OscarCI #865

Merged
merged 1 commit into from
May 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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