From 96ccb32241499cb59c4cab845501762995a80c9f Mon Sep 17 00:00:00 2001 From: Axel Huebl Date: Mon, 17 Jun 2024 22:33:17 -0700 Subject: [PATCH] CI: Update --- .github/workflows/macos.yml | 7 ++++++- .github/workflows/ubuntu.yml | 2 +- .github/workflows/windows.yml | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 79571fa..118022f 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -12,10 +12,13 @@ jobs: runs-on: macos-latest if: github.event.pull_request.draft == false steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Dependencies run: | + python3 -m venv py-venv + source py-venv/bin/activate + python3 -m pip install --upgrade pyflakes python3 -m pip install --upgrade -r requirements.txt @@ -23,6 +26,8 @@ jobs: - name: Test run: | + source py-venv/bin/activate + python3 -m pip install . openPMD_createExamples_h5 openPMD_check_h5 -i example.h5 --EDPIC diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 8d1cc89..ce6e23a 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest if: github.event.pull_request.draft == false steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Dependencies run: | diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 9ec6a37..44560ab 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -12,7 +12,7 @@ jobs: runs-on: windows-latest if: github.event.pull_request.draft == false steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Dependencies run: |