Merge branch 'main' into feature/cse_machine #56
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
name: Testing with GitHub Actions | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
test_suite: [test_ast, test_st, test_all] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Python 3.8 | |
if: matrix.os == 'ubuntu-latest' | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.8 | |
- name: Setup Python 3.8 on Windows | |
if: matrix.os == 'windows-latest' | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.8 | |
- name: Install dependencies | |
run: | | |
make install | |
- name: Test with pytest (${{ matrix.test_suite }}) | |
run: | | |
make ${{ matrix.test_suite }} | |
- name: Cleanup after test | |
run: | | |
make clean |