Skip to content

Commit

Permalink
Update action version in CI-mac-os.
Browse files Browse the repository at this point in the history
  • Loading branch information
nennigb committed Jul 2, 2024
1 parent 0b7f50f commit 74a8b05
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/ci-mac-os.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ on:
schedule:
# * is a special character in YAML so you have to quote this string
# run at 02:01 on every 15th day-of-month.
- cron: '1 2 */15 * *'
- cron: '1 2 */15 * *'


# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
Expand All @@ -25,11 +26,11 @@ jobs:
python-version: [3.8, '3.10', '3.11']
env:
# set env variable for Wand
MAGICK_HOME='/opt/homebrew'
MAGICK_HOME: '/opt/homebrew'
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3.1.0
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
Expand Down Expand Up @@ -68,7 +69,7 @@ jobs:
- name: Test amc2moodle
run: |
python -m amc2moodle.amc2moodle.test
- name: Test moodle2amc
run: |
# add automultiplechoice.sty local copy to LaTeX PATH (for this step)
Expand All @@ -83,14 +84,14 @@ jobs:
# amc2moodle
- name: Archive XML test output of amc2moodle (without tikz)
if: ${{ always() }}
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: test_notikz_${{ matrix.python-version }}
path: test_notikz.xml

- name: Archive XML test output of amc2moodle (with tikz)
if: ${{ always() }}
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: test_tikz_${{ matrix.python-version }}
path: test_tikz.xml
Expand All @@ -103,7 +104,7 @@ jobs:
- name: Archive LaTeX test output (moodle2amc)
if: ${{ always() }}
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: test_moodle-bank-exemple_${{ matrix.python-version }}
path: moodle-bank-exemple-output
Expand Down

0 comments on commit 74a8b05

Please sign in to comment.