Merge pull request #440 from boegel/2023.06-software.eessi.io_easybui… #1255
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# documentation: https://help.github.com/en/articles/workflow-syntax-for-github-actions | |
name: Tests | |
on: [push, pull_request] | |
permissions: | |
contents: read # to fetch code (actions/checkout) | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
python: [3.6, 3.7, 3.8, 3.9, '3.10'] | |
fail-fast: false | |
steps: | |
- name: checkout | |
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0 | |
- name: set up Python | |
uses: actions/setup-python@13ae5bb136fac2878aff31522b9efb785519f984 # v4.3.0 | |
with: | |
python-version: ${{matrix.python}} | |
architecture: x64 | |
- name: install Python packages | |
run: | | |
pip install archspec | |
- name: test eessi_software_subdir.py script | |
run: | | |
./eessi_software_subdir.py | tee out | |
grep '^x86_64/' out | |
egrep '/intel/|/amd/' out |